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:
parent
e23f75b3c4
commit
d6c388616b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user