瀏覽代碼

bin-maker.sh: update default VERSION

John Sahhar 3 年之前
父節點
當前提交
412505c29f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netclient/bin-maker.sh

+ 1 - 1
netclient/bin-maker.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-if [[ ${#VERSION} -lt 1 ]]; then VERSION="develop"; fi 
+VERSION=${VERSION:-"develop"}
 echo "build with version tag: $VERSION"
 readonly __HOST_ARCH=${1:-"amd64"}  # change this for your machine.
 readonly __HOST_GOOSE=${2:-"linux"} # change this for your machine.