]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
kbuild: fix buglet in gcc-version.sh
authorSam Ravnborg <sam@ravnborg.org>
Mon, 31 Dec 2007 13:22:55 +0000 (14:22 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:36 +0000 (23:14 +0100)
commit0484f1299fb504d57f388e5cdaba85ed59f32ca0
tree88766246de729bf62c7d7e0c404ed4597e62dc0b
parent899c38420c56b20e12a31fe9adfa92cd21782370
kbuild: fix buglet in gcc-version.sh

Greg Schafer <gschafer@zip.com.au> 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 <sam@ravnborg.org>
Cc: Greg Schafer <gschafer@zip.com.au>
Cc: Jesper Juhl <jesper.juhl@gmail.com>
scripts/gcc-version.sh