aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-10-14 15:54:36 -0400
committerRuss Cox <rsc@golang.org>2011-10-14 15:54:36 -0400
commit12ece77c14107aebe0840c93a36ced58dca4aebc (patch)
treed44760cdb95836a859559eb0ed126bb435cd0b05 /src/make.bash
parentff866c4ca37287af82edf33d1e1d6f7c52931e19 (diff)
downloadgo-12ece77c14107aebe0840c93a36ced58dca4aebc.tar.xz
build: stop on failed deps.bash
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
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash
index 57a57077c7..013852570c 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -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.