diff options
| author | Bruce Momjian | 2002-03-12 21:44:18 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2002-03-12 21:44:18 +0000 |
| commit | cf6a73dedc8571342ddd6a738e9451bdfe5118da (patch) | |
| tree | d01860fa7bc4683c1c52e9102449ab465c9761fa | |
| parent | 6eeb95f0f56bb5e8a0a9328aeec04c9e6de87272 (diff) | |
Change "head -1" to "sort q" as suggested for POSIX compatibility.
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | configure.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure index 46312ee8568..8623f98b4f7 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 165f546464c..f69658acfc1 100644 --- a/configure.in +++ b/configure.in @@ -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 |
