aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 3c814ba0fa85..4e7547209852 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -7,7 +7,7 @@
7# Uses the following environment variables: 7# Uses the following environment variables:
8# ARCH, SUBARCH, srctree, src, obj 8# ARCH, SUBARCH, srctree, src, obj
9 9
10if [ $KBUILD_VERBOSE == 1 ]; then 10if [ "$KBUILD_VERBOSE" = "1" ]; then
11 set -x 11 set -x
12fi 12fi
13 13
@@ -18,7 +18,7 @@ ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \
18 -prune -o" 18 -prune -o"
19 19
20# Do not use full path is we do not use O=.. builds 20# Do not use full path is we do not use O=.. builds
21if [ "${KBUILD_SRC}" == "" ]; then 21if [ "${KBUILD_SRC}" = "" ]; then
22 tree= 22 tree=
23else 23else
24 tree=${srctree}/ 24 tree=${srctree}/
@@ -135,10 +135,10 @@ xtags()
135 135
136 136
137# Support um (which uses SUBARCH) 137# Support um (which uses SUBARCH)
138if [ ${ARCH} == um ]; then 138if [ "${ARCH}" = "um" ]; then
139 if [ $SUBARCH == i386 ]; then 139 if [ "$SUBARCH" = "i386" ]; then
140 archinclude=x86 140 archinclude=x86
141 elif [ $SUBARCH == x86_64 ]; then 141 elif [ "$SUBARCH" = "x86_64" ]; then
142 archinclude=x86 142 archinclude=x86
143 else 143 else
144 archinclude=${SUBARCH} 144 archinclude=${SUBARCH}