From 12ece77c14107aebe0840c93a36ced58dca4aebc Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 14 Oct 2011 15:54:36 -0400 Subject: [PATCH] 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 --- src/make.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make.bash b/src/make.bash index 57a57077c72..013852570ca 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.