diff --git a/gpAux/gpdemo/probe_config.sh b/gpAux/gpdemo/probe_config.sh index 760d31a5ae8..5a5fee2710f 100755 --- a/gpAux/gpdemo/probe_config.sh +++ b/gpAux/gpdemo/probe_config.sh @@ -44,7 +44,8 @@ declare -a PORTS=(5432 10001 10002 10003) ((PORT_MIN=0)) ((PORT_MAX=$NUM_PRIMARY_MIRROR_PAIRS)) -if [ -z $PORT_BASE ] ; then +PORT_BASE=$DEMO_PORT_BASE +if [ -z "$PORT_BASE" ] ; then echo "set PORT_BASE" exit 1 fi @@ -65,7 +66,7 @@ for ((i=PORT_MIN; i