diff --git a/build/pack/build.sh b/build/pack/build.sh index 0ef24ff..607eef8 100755 --- a/build/pack/build.sh +++ b/build/pack/build.sh @@ -15,7 +15,8 @@ cd $GOPATH # echo "go get golang.org/x" # go get golang.org/x -if [ -z "$GOPATH/src/golang.org" ] ; then +if [ ! -d "$GOPATH/src/golang.org" ] ; then + echo "git clone https://github.com/eyebluecn/golang.org.git" git clone https://github.com/eyebluecn/golang.org.git $GOPATH/src/golang.org fi