mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
Change "head -1" to "sort q" as suggested for POSIX compatibility.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user