]> Cypherpunks repositories - gostls13.git/commitdiff
fix build:
authorRuss Cox <rsc@golang.org>
Thu, 15 Oct 2009 01:29:33 +0000 (18:29 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 15 Oct 2009 01:29:33 +0000 (18:29 -0700)
avoid infinite loop when cd fails.

TBR=r
OCL=35750
CL=35750

src/clean.bash

index f5cd3b0573c136c80e09d5373ecbd32b6520cddf..2bfc88f22cbfda675926551413131e6e7f93d6aa 100755 (executable)
@@ -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