summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliangxia <lxia@redhat.com>2014-12-15 03:34:52 +0000
committerliangxia <lxia@redhat.com>2014-12-15 03:34:52 +0000
commitedc60164ea952c9a63550ee8c8622b49f3bf39c4 (patch)
tree71f54a26d62463e014fa627b0d69bb48b34d44eb
parentffe702b2e85278d7a1625b9fae33695360aff3ed (diff)
downloadopenshift-edc60164ea952c9a63550ee8c8622b49f3bf39c4.tar.gz
openshift-edc60164ea952c9a63550ee8c8622b49f3bf39c4.tar.bz2
openshift-edc60164ea952c9a63550ee8c8622b49f3bf39c4.tar.xz
openshift-edc60164ea952c9a63550ee8c8622b49f3bf39c4.zip
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