Commit d34174cf authored by Andrew Gerrand's avatar Andrew Gerrand

build: clean.bash to check that GOOS and GOARCH are set

R=rsc
CC=golang-dev
https://golang.org/cl/1843046
parent d1e7cffe
......@@ -9,6 +9,14 @@ if [ -z "$GOROOT" ] ; then
echo '$GOROOT not set'
exit 1
fi
if [ -z "$GOOS" ] ; then
echo '$GOOS not set'
exit 1
fi
if [ -z "$GOARCH" ] ; then
echo '$GOARCH not set'
exit 1
fi
GOBIN="${GOBIN:-$HOME/bin}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment