about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/mkmakemod.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f2ab51b36..671661cf6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-02  Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
+
+	* unposted: Src/mkmakemod.sh: patterns in 13412 were wrong.
+
 2001-02-02  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* Peter: 13427: Completion/Core/_expand: fix for handling quoting
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"