Jelajahi Sumber

Merge pull request #35 from liangxia/master

suppress error unbound variable
Thomas Wiest 10 tahun lalu
induk
melakukan
2848232bda
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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