Commit 3ddb7daa authored by Russ Cox's avatar Russ Cox

fix build:

avoid infinite loop when cd fails.

TBR=r
OCL=35750
CL=35750
parent 2b7fde34
...@@ -8,9 +8,9 @@ rm -f $GOROOT/lib/*.a ...@@ -8,9 +8,9 @@ rm -f $GOROOT/lib/*.a
for i in lib9 libbio libcgo libmach libregexp cmd pkg \ for i in lib9 libbio libcgo libmach libregexp cmd pkg \
../misc/cgo/gmp ../misc/cgo/stdio \ ../misc/cgo/gmp ../misc/cgo/stdio \
../usr/r/rpc ../usr/dsymonds/iterable \ ../usr/r/rpc ../usr/dsymonds/iterable \
../usr/austin/eval ../usr/austin/ogle ../test/bench ../test/bench
do( do(
cd $i cd $i || exit 1
if test -f clean.bash; then if test -f clean.bash; then
bash clean.bash bash clean.bash
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment