Commit 0484f129 authored by Sam Ravnborg's avatar Sam Ravnborg

kbuild: fix buglet in

Greg Schafer <> reported:
$make mrproper
scripts/ [[: 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: default avatarSam Ravnborg <>
Cc: Greg Schafer <>
Cc: Jesper Juhl <>
parent 899c3842
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment