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 :-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer
_______________________________________________
distcc mailing list
[EMAIL PROTECTED]
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

Reply via email to