summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2014-12-15 11:16:15 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2014-12-15 11:16:15 -0500
commit2848232bdaed44fadb51548fe9d6c39fe89b8e11 (patch)
tree2bb3b4bf18502b1a537c6e7982b1693fbad6bf5b
parentc5c69ab47dc0e65c3da590bbc91e0938a2623725 (diff)
parentedc60164ea952c9a63550ee8c8622b49f3bf39c4 (diff)
downloadopenshift-2848232bdaed44fadb51548fe9d6c39fe89b8e11.tar.gz
openshift-2848232bdaed44fadb51548fe9d6c39fe89b8e11.tar.bz2
openshift-2848232bdaed44fadb51548fe9d6c39fe89b8e11.tar.xz
openshift-2848232bdaed44fadb51548fe9d6c39fe89b8e11.zip
Merge pull request #35 from liangxia/master
suppress error unbound variable
-rwxr-xr-xcluster.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster.sh b/cluster.sh
index 73c87eb95..afb9826ff 100755
--- a/cluster.sh
+++ b/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