buildtools.sh: inherit $UTILITIES if defined
This commit is contained in:
parent
ab6ec669ba
commit
f62c23db18
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
cd `dirname $0`
|
||||
UTILITIES=`pwd`
|
||||
if [ -z "$UTILITIES" ]; then
|
||||
UTILITIES=`pwd`
|
||||
fi
|
||||
git clean -x -d -f $UTILITIES
|
||||
echo -n Building development tools...
|
||||
GOBIN="$UTILITIES/bin" GOPATH="$UTILITIES/third_party:$UTILITIES" go get -d jehanne/cmd/...
|
||||
|
|
Loading…
Reference in New Issue