Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin )
- X-seq: zsh-workers 13412
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin )
- Date: Wed, 31 Jan 2001 12:57:27 +0300
- Importance: Normal
- In-reply-to: <200101310900.KAA05976@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> This happened to me, too. Somehow the Makefile calls the recursive
> `make's twice when collection the module object files to be put into
> stamp-modobjs.
Argh ...
Index: Src/mkmakemod.sh
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/mkmakemod.sh,v
retrieving revision 1.5
diff -u -r1.5 mkmakemod.sh
--- Src/mkmakemod.sh 2000/11/26 20:01:03 1.5
+++ Src/mkmakemod.sh 2001/01/31 09:55:19
@@ -132,7 +132,13 @@
$the_subdir/$lastsub/*) ;;
$the_subdir/*/*)
lastsub=`echo $modfile | sed
's,^'$the_subdir'/,,;s,/[^/]*$,,'`
- all_subdirs="$all_subdirs $lastsub"
+ case "$all_subdirs" in
+ *" $lastsub"* ) ;;
+ *" $lastsub "* ) ;;
+ * )
+ all_subdirs="$all_subdirs $lastsub"
+ ;;
+ esac
;;
$the_subdir/*)
mddname=`echo $modfile | sed 's,^.*/,,;s,\.mdd$,,'`
Messages sorted by:
Reverse Date,
Date,
Thread,
Author