adjust args

This commit is contained in:
vcptr
2019-11-26 13:50:08 +08:00
parent 0d99c3f942
commit 82745be6fd
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -138,6 +138,12 @@ case $arg in
abpathtgz=*)
pkg=${arg##abpathtgz=}
;;
codename=*)
CODENAME=${arg##codename=}
;;
buildname=*)
BUILDNAME=${arg##buildname=}
;;
esac
done
@@ -146,6 +152,8 @@ if [[ $nosource != 1 ]]; then
fi
export GOOS GOARCH
echo "Build ARGS: GOOS=${GOOS} GOARCH=${GOARCH} CODENAME=${CODENAME} BUILDNAME=${BUILDNAME}"
echo "PKG ARGS: pkg=${pkg}"
build_v2
if [[ $nodat != 1 ]]; then