From 31ebcc8bf8932ffa18654d430887e42fc41d17f1 Mon Sep 17 00:00:00 2001 From: benderzhao Date: Tue, 28 Sep 2021 16:33:39 +0800 Subject: [PATCH] add --- pack.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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}')