[Bese-devel] Re: Keeping source trees up-to-date

Ralf Mattes rm at mh-freiburg.de
Sun Oct 8 14:34:57 UTC 2006


On Sun, 2006-10-08 at 15:36 +0200, Henrik Hjelte wrote:
> Pretty! One-liners are really aesthetical..
> I noticed that there is a semicolon missing before darcs pull.
> 
> /Henrik
> 
> CUR=`pwd`; for i in `find . -name _darcs`; do (cd $i/../; darcs pull; cd
> $CUR); done

This is a little bit more robust:
CUR=`pwd`; for i in `find . -type d -a -name _darcs`; 
do 
 (cd $i/../; darcs pull -a);
done

Cheers, RalfD

  
> On Sat, 2006-10-07 at 19:52 +0200, Marco Baringer wrote:
> > Henrik Hjelte <henrik at evahjelte.com> writes:
> > 
> > > The attached README explains my setup, and some additional scripts I
> > > made to make things easier.
> > 
> > this should also work (and will continue working even if we add/remove
> > dependncies from ucw):
> > 
> > CUR=`pwd`; for i in `find . -name _darcs`; do (cd $i/../ darcs pull; cd $CUR); done
> > 
> 
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel




More information about the bese-devel mailing list