浏览代码

Merge pull request #35 from liangxia/master

suppress error unbound variable
Thomas Wiest 10 年之前
父节点
当前提交
2848232bda
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cluster.sh

+ 1 - 1
cluster.sh

@@ -4,7 +4,7 @@ MINIONS=3
 MASTERS=1
 
 # If the environment variable OO_PROVDER is defined, it used for the provider
-PROVIDER=$OO_PROVIDER
+PROVIDER=${OO_PROVIDER:-''}
 # Otherwise, default is gce (Google Compute Engine)
 if [ "x$PROVIDER" == "x" ];then
    PROVIDER=gce