From: Russ Cox Date: Thu, 15 Oct 2009 01:29:33 +0000 (-0700) Subject: fix build: X-Git-Tag: weekly.2009-11-06~310 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3ddb7daa9763ab34f1e1df3f31a5ad6cfbdab4fe;p=gostls13.git fix build: avoid infinite loop when cd fails. TBR=r OCL=35750 CL=35750 --- diff --git a/src/clean.bash b/src/clean.bash index f5cd3b0573..2bfc88f22c 100755 --- a/src/clean.bash +++ b/src/clean.bash @@ -8,9 +8,9 @@ rm -f $GOROOT/lib/*.a for i in lib9 libbio libcgo libmach libregexp cmd pkg \ ../misc/cgo/gmp ../misc/cgo/stdio \ ../usr/r/rpc ../usr/dsymonds/iterable \ - ../usr/austin/eval ../usr/austin/ogle ../test/bench + ../test/bench do( - cd $i + cd $i || exit 1 if test -f clean.bash; then bash clean.bash else