Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-workers: zsh-3.1.4



Bart Schaefer wrote:
>"make clean" fails when /bin/sh is bash because $(SUBDIRS) is empty in
>Doc and Etc and maybe elsewhere.  Bash gets a syntax error at
>
>	for subdir in ; do
>
>even though that is prefixed with "if test -n '$(SUBDIRS)'" because it
>apparently wants to parse the entire line before executing any of it.

Cool.  I guess we'll have to go back to one of the other (less neat)
mechanisms.  Simple fix:

	subdirs='$(SUBDIRS)'; for subdir in $$subdirs; do ...

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author