Fix a shell logic bug.

This commit is contained in:
hxsherry 2018-01-29 00:01:12 +08:00
parent f561357d10
commit 0c7c6471d8

View File

@ -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