]> Cypherpunks repositories - gostls13.git/commitdiff
build: stop on failed deps.bash
authorRuss Cox <rsc@golang.org>
Fri, 14 Oct 2011 19:54:36 +0000 (15:54 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 14 Oct 2011 19:54:36 +0000 (15:54 -0400)
Apparently some versions of bash do the ||exit implicitly
when in set -e mode, but others do not.  ???

R=gri
CC=golang-dev
https://golang.org/cl/5285043

src/make.bash

index 57a57077c72f5b26b2b598a5cc153c4b45a6dae2..013852570caa9eeadcf8872cf2d9f7848e3e65aa 100755 (executable)
@@ -69,7 +69,7 @@ fi
 (
        cd "$GOROOT"/src/pkg;
        bash deps.bash  # do this here so clean.bash will work in the pkg directory
-)
+) || exit 1
 bash "$GOROOT"/src/clean.bash
 
 # pkg builds libcgo and the Go programs in cmd.