forked from coolaj86/node-installer.sh
NODE_VERSION taks preference over NODEJS_VER
This commit is contained in:
parent
b8acbae85f
commit
895dcd31f2
|
@ -233,7 +233,7 @@ fi
|
|||
|
||||
NODE_VERSION=${NODE_VERSION:-}
|
||||
NODEJS_VER=${NODEJS_VER:-}
|
||||
if [ -z "${NODEJS_VER:-}" ]; then
|
||||
if [ -n "$NODE_VERSION" ]; then
|
||||
NODEJS_VER=$NODE_VERSION
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue