In the stop script, there is a check for the value of the $OPENSHIFT_VERSION
without first checking that the $PLATFORM environment variable is set to
"openshift". This can result in a undefined variable error for
$OPENSHIFT_VERSION.
This change adds a check that $PLATFORM is set to "openshift" before
checking $OPENSHIFT_VERSION value.
In the stop script, there is a check for the value of the
$OPENSHIFT_VERSION
without first checking that the$PLATFORM
environment variable is set to "openshift". This can result in a undefined variable error for$OPENSHIFT_VERSION
.This change adds a check that
$PLATFORM
is set to "openshift" before checking$OPENSHIFT_VERSION
value.