Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf6a73d

Browse files
committed
Change "head -1" to "sort q" as suggested for POSIX compatibility.
1 parent6eeb95f commitcf6a73d

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
iftest 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)

[8]ページ先頭

©2009-2025 Movatter.jp