Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0484f1299fb504d57f388e5cdaba85ed59f32ca0 Commit: 0484f1299fb504d57f388e5cdaba85ed59f32ca0 Parent: 899c38420c56b20e12a31fe9adfa92cd21782370 Author: Sam Ravnborg <[EMAIL PROTECTED]> AuthorDate: Mon Dec 31 14:22:55 2007 +0100 Committer: Sam Ravnborg <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 23:14:36 2008 +0100
kbuild: fix buglet in gcc-version.sh Greg Schafer <[EMAIL PROTECTED]> reported: ==== $make mrproper scripts/gcc-version.sh: [[: command not found This is on a very old host with an ancient bash as /bin/sh. But I have CONFIG_SHELL set and pointing to a modern bash. Something is wrong. This doesn't happen with 2.6.23 ==== Fixed using a more common string equality test. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> Cc: Greg Schafer <[EMAIL PROTECTED]> Cc: Jesper Juhl <[EMAIL PROTECTED]> --- scripts/gcc-version.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/scripts/gcc-version.sh b/scripts/gcc-version.sh index a5121a6..cc767b3 100644 --- a/scripts/gcc-version.sh +++ b/scripts/gcc-version.sh @@ -9,7 +9,10 @@ # gcc-2.95.3, `030301' for gcc-3.3.1, etc. # -if [[ $1 = "-p" ]] ; then with_patchlevel=1; shift; fi +if [ "$1" = "-p" ] ; then + with_patchlevel=1; + shift; +fi compiler="$*" - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html