about summary refs log tree commit diff
path: root/Src/mkmakemod.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Src/mkmakemod.sh')
-rw-r--r--Src/mkmakemod.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/mkmakemod.sh b/Src/mkmakemod.sh
index aa5f3c0ec..ade22cfad 100644
--- a/Src/mkmakemod.sh
+++ b/Src/mkmakemod.sh
@@ -132,8 +132,7 @@ if $first_stage; then
 	    $the_subdir/$lastsub/*) ;;
 	    $the_subdir/*/*)
 		lastsub=`echo $modfile | sed 's,^'$the_subdir'/,,;s,/[^/]*$,,'`
-		case "$all_subdirs" in
-		    *" $lastsub"* ) ;;
+		case "$all_subdirs " in
 		    *" $lastsub "* ) ;;
 		    * )
 			all_subdirs="$all_subdirs $lastsub"