Test of string equality in shells is =, not C-like ==. Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx> --- scripts/tags.sh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 3b7225c..6f49398 100644 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -7,7 +7,7 @@ # Uses the following environment variables: # ARCH, SUBARCH, srctree, src, obj -if [ $KBUILD_VERBOSE == 1 ]; then +if [ $KBUILD_VERBOSE = 1 ]; then set -x fi @@ -18,7 +18,7 @@ ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \ -prune -o" # Do not use full path is we do not use O=.. builds -if [ ${src} == ${obj} ]; then +if [ ${src} = ${obj} ]; then tree= else tree=${srctree}/ @@ -135,10 +135,10 @@ xtags() # Support um (which uses SUBARCH) -if [ ${ARCH} == um ]; then - if [ $SUBARCH == i386 ]; then +if [ ${ARCH} = um ]; then + if [ $SUBARCH = i386 ]; then archinclude=x86 - elif [ $SUBARCH == x86_64 ]; then + elif [ $SUBARCH = x86_64 ]; then archinclude=x86 else archinclude=${SUBARCH} -- 1.6.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html