From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 293 invoked from network); 30 Dec 1996 11:19:13 -0000 Received: from dns.primenet.com.au (203.24.36.3) by coral.primenet.com.au with SMTP; 30 Dec 1996 11:19:13 -0000 Received: (qmail 585 invoked from network); 30 Dec 1996 08:32:29 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by dns.primenet.com.au with SMTP; 30 Dec 1996 08:32:29 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id DAA18936; Mon, 30 Dec 1996 03:03:15 -0500 (EST) Resent-Date: Mon, 30 Dec 1996 03:03:15 -0500 (EST) From: Zefram Message-Id: <24640.199612300804@stone.dcs.warwick.ac.uk> Subject: Re: 3.1.0beta make install problem To: hzoli@cs.elte.hu (Zoltan Hidvegi) Date: Mon, 30 Dec 1996 08:04:17 +0000 (GMT) Cc: dogcow@us.itd.umich.edu, zsh-workers@math.gatech.edu In-Reply-To: <199612290246.DAA19974@hzoli.ppp.cs.elte.hu> from "Zoltan Hidvegi" at Dec 29, 96 03:46:04 am X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]8651.68 X-US-Congress: Moronic fuckers Content-Type: text Resent-Message-ID: <"orp03.0.md4.3Ttno"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2668 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zoltan Hidvegi wrote: >> not.) - it does a "for dir in $(MODULE_DIRS); do", but that variable is empty, >> and so sh gets pouty. > >Isn't that $(MONULE_DIRS)? sh should do nothing in for dir in ; do ... done. >What system do you use? It seems that you /bin/sh is buggy. A lot of sh's don't like it. I've always avoided doing that in Makefile scripts, including the ones I've been writing for zsh. There are two usual workarounds: list='$(POSSIBLY_EMPTY_VARIABLE)' for foo in $list; do ... done for foo in .. $(POSSIBLY_EMPTY_VARIABLE); do if $foo != ..; then ... fi done -zefram