diff --git a/pack.sh b/pack.sh index 58f67ae..6b386f1 100755 --- a/pack.sh +++ b/pack.sh @@ -11,6 +11,16 @@ rm pack -rf rm pack.zip -f mkdir pack +go get -u -v github.com/esrrhs/pingtunnel/... +last=`pwd` +cd $GOPATH/src/golang.org/x +for dir in `ls`; do + cd $dir + git pull + cd .. +done +cd $last + for line in $build_list; do os=$(echo "$line" | awk -F"/" '{print $1}') arch=$(echo "$line" | awk -F"/" '{print $2}')