mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 11:21:13 +02:00
13412: avoid duplicates in subdirecory list for recursive build
This commit is contained in:
parent
2708badb16
commit
79b9ccd285
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-01-31 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
|
||||||
|
|
||||||
|
* 13412: Src/mkmakemod.sh: avoid duplicate subdirectories in
|
||||||
|
recursive build
|
||||||
|
|
||||||
2001-01-29 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
|
2001-01-29 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
|
||||||
|
|
||||||
* unposted: ChangeLog: typo in previous commit message
|
* unposted: ChangeLog: typo in previous commit message
|
||||||
|
|
|
@ -132,8 +132,14 @@ if $first_stage; then
|
||||||
$the_subdir/$lastsub/*) ;;
|
$the_subdir/$lastsub/*) ;;
|
||||||
$the_subdir/*/*)
|
$the_subdir/*/*)
|
||||||
lastsub=`echo $modfile | sed 's,^'$the_subdir'/,,;s,/[^/]*$,,'`
|
lastsub=`echo $modfile | sed 's,^'$the_subdir'/,,;s,/[^/]*$,,'`
|
||||||
|
case "$all_subdirs" in
|
||||||
|
*" $lastsub"* ) ;;
|
||||||
|
*" $lastsub "* ) ;;
|
||||||
|
* )
|
||||||
all_subdirs="$all_subdirs $lastsub"
|
all_subdirs="$all_subdirs $lastsub"
|
||||||
;;
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
$the_subdir/*)
|
$the_subdir/*)
|
||||||
mddname=`echo $modfile | sed 's,^.*/,,;s,\.mdd$,,'`
|
mddname=`echo $modfile | sed 's,^.*/,,;s,\.mdd$,,'`
|
||||||
here_mddnames="$here_mddnames $mddname"
|
here_mddnames="$here_mddnames $mddname"
|
||||||
|
|
Loading…
Reference in a new issue