fix unbound var
This commit is contained in:
parent
509ee32688
commit
b8acbae85f
|
@ -232,7 +232,11 @@ fi
|
||||||
#########################
|
#########################
|
||||||
|
|
||||||
NODE_VERSION=${NODE_VERSION:-}
|
NODE_VERSION=${NODE_VERSION:-}
|
||||||
NODEJS_VER=${NODE_VERSION:-$NODEJS_VER}
|
NODEJS_VER=${NODEJS_VER:-}
|
||||||
|
if [ -z "${NODEJS_VER:-}" ]; then
|
||||||
|
NODEJS_VER=$NODE_VERSION
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "${NODEJS_VER:-}" ]; then
|
if [ -z "${NODEJS_VER:-}" ]; then
|
||||||
# For backwards compat
|
# For backwards compat
|
||||||
if [ -f "$my_tmp/NODEJS_VER" ]; then
|
if [ -f "$my_tmp/NODEJS_VER" ]; then
|
||||||
|
|
Loading…
Reference in New Issue