Skip to content
  • Sam Ravnborg's avatar
    kbuild: fix buglet in gcc-version.sh · 0484f129
    Sam Ravnborg authored
    
    
    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: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Greg Schafer <gschafer@zip.com.au>
    Cc: Jesper Juhl <jesper.juhl@gmail.com>
    0484f129