From 7194a5030006e3c418f8353e4023115135ee3191 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Fri, 2 Feb 2001 08:44:53 +0000 Subject: unposted: fix patterns previous patch --- ChangeLog | 4 ++++ Src/mkmakemod.sh | 3 +-- 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 + + * unposted: Src/mkmakemod.sh: patterns in 13412 were wrong. + 2001-02-02 Sven Wischnowsky * 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" -- cgit 1.4.1