Skip to content

Commit cf6a73d

Browse files
committed
Change "head -1" to "sort q" as suggested for POSIX compatibility.
1 parent 6eeb95f commit cf6a73d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ fi
16291629

16301630
# Create compiler version string
16311631
if test x"$GCC" = x"yes" ; then
1632-
cc_string="GCC `${CC} --version | head -1`"
1632+
cc_string="GCC `${CC} --version | sed q`"
16331633
else
16341634
cc_string=$CC
16351635
fi

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ AC_SUBST(GCC)
297297

298298
# Create compiler version string
299299
if test x"$GCC" = x"yes" ; then
300-
cc_string="GCC `${CC} --version | head -1`"
300+
cc_string="GCC `${CC} --version | sed q`"
301301
else
302302
cc_string=$CC
303303
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy