From: Russ Cox Date: Fri, 14 Oct 2011 19:54:36 +0000 (-0400) Subject: build: stop on failed deps.bash X-Git-Tag: weekly.2011-10-18~65 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=12ece77c14107aebe0840c93a36ced58dca4aebc;p=gostls13.git 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 --- 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.