mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
adjust args
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user