Update setup-min.sh
This commit is contained in:
parent
b6c4f023f5
commit
30627ef933
|
@ -20,7 +20,7 @@ if [ -z "${PREFIX-}" ]; then
|
|||
PREFIX=""
|
||||
fi
|
||||
|
||||
if [ -n "$NODE_PATH" ]; then
|
||||
if [ -n "${NODE_PATH-}" ]; then
|
||||
node_install_path=$(dirname $(dirname $NODE_PATH))
|
||||
else
|
||||
node_install_path=$PREFIX/usr/local
|
||||
|
|
Loading…
Reference in New Issue