fix build:

avoid infinite loop when cd fails.

TBR=r
OCL=35750
CL=35750
This commit is contained in:
Russ Cox 2009-10-14 18:29:33 -07:00
parent 2b7fde3406
commit 3ddb7daa97
1 changed files with 2 additions and 2 deletions

View File

@ -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