Commit cf6a73de authored by Bruce Momjian's avatar Bruce Momjian

Change "head -1" to "sort q" as suggested for POSIX compatibility.

parent 6eeb95f0
......@@ -1629,7 +1629,7 @@ fi
# Create compiler version string
if test x"$GCC" = x"yes" ; then
cc_string="GCC `${CC} --version | head -1`"
cc_string="GCC `${CC} --version | sed q`"
else
cc_string=$CC
fi
......
......@@ -297,7 +297,7 @@ AC_SUBST(GCC)
# Create compiler version string
if test x"$GCC" = x"yes" ; then
cc_string="GCC `${CC} --version | head -1`"
cc_string="GCC `${CC} --version | sed q`"
else
cc_string=$CC
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment