mirror of https://github.com/golang/go.git
fix build:
avoid infinite loop when cd fails. TBR=r OCL=35750 CL=35750
This commit is contained in:
parent
2b7fde3406
commit
3ddb7daa97
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue