1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:54:45 -07:00

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
This commit is contained in:
Russ Cox 2011-10-14 15:54:36 -04:00
parent ff866c4ca3
commit 12ece77c14

View File

@ -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.