forked from coolaj86/node-installer.sh
fix unbound var
This commit is contained in:
parent
509ee32688
commit
b8acbae85f
|
@ -232,7 +232,11 @@ fi
|
|||
#########################
|
||||
|
||||
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
|
||||
# For backwards compat
|
||||
if [ -f "$my_tmp/NODEJS_VER" ]; then
|
||||
|
|
Loading…
Reference in New Issue