[distcc] Solaris patch and popt replacement

Martin Pool mbp at sourcefrog.net
Tue Oct 15 23:53:00 GMT 2002


On 15 Oct 2002, Alexandre Oliva <oliva at lsd.ic.unicamp.br> wrote:
> On Oct 15, 2002, Martin Pool <mbp at sourcefrog.net> 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 



More information about the distcc mailing list