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

This commit is contained in:
Bruce Momjian 2002-03-12 21:44:18 +00:00
parent 6eeb95f0f5
commit cf6a73dedc
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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