On 15 Oct 2002, Alexandre Oliva <[EMAIL PROTECTED]> wrote:
> On Oct 15, 2002, Martin Pool <[EMAIL PROTECTED]> wrote:
> 
> >> +       for s in src; do cd $$s; $(MAKE) all  || exit $$? ; done
> 
> > It is far better to say
> 
> >   cd $$s && $(MAKE) all
> 
> Even better to say:
> 
>         do (cd $$s && $(MAKE) all)
> 
> otherwise you lose if `s' iterates on more than one directory :-)

Yes, that was what I meant -- I was just (unclearly) quoting the loop
body.

-- 
Martin 
_______________________________________________
distcc mailing list
[EMAIL PROTECTED]
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

Reply via email to