1
0
mirror of https://github.com/golang/go synced 2024-11-22 06:34:40 -07:00

test for invalid $GOBIN setting before trying to build

R=r
CC=golang-dev
https://golang.org/cl/153049
This commit is contained in:
Russ Cox 2009-11-10 18:00:48 -08:00
parent e23f75b3c4
commit d6c388616b

View File

@ -13,6 +13,13 @@ then
exit 1
fi
if ! test -d $GOBIN
then
echo '$GOBIN is not a directory or does not exist' 1>&2
echo 'create it or set $GOBIN differently' 1>&2
exit 1
fi
bash clean.bash
rm -f $GOBIN/quietgcc