mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 00:31:51 +02:00
Change "head -1" to "sort q" as suggested for POSIX compatibility.
This commit is contained in:
parent
6eeb95f0f5
commit
cf6a73dedc
2
configure
vendored
2
configure
vendored
@ -1629,7 +1629,7 @@ fi
|
|||||||
|
|
||||||
# Create compiler version string
|
# Create compiler version string
|
||||||
if test x"$GCC" = x"yes" ; then
|
if test x"$GCC" = x"yes" ; then
|
||||||
cc_string="GCC `${CC} --version | head -1`"
|
cc_string="GCC `${CC} --version | sed q`"
|
||||||
else
|
else
|
||||||
cc_string=$CC
|
cc_string=$CC
|
||||||
fi
|
fi
|
||||||
|
@ -297,7 +297,7 @@ AC_SUBST(GCC)
|
|||||||
|
|
||||||
# Create compiler version string
|
# Create compiler version string
|
||||||
if test x"$GCC" = x"yes" ; then
|
if test x"$GCC" = x"yes" ; then
|
||||||
cc_string="GCC `${CC} --version | head -1`"
|
cc_string="GCC `${CC} --version | sed q`"
|
||||||
else
|
else
|
||||||
cc_string=$CC
|
cc_string=$CC
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user