forked from coolaj86/node-installer.sh
Update setup-node-mavericks.bash
This commit is contained in:
parent
85ad20281f
commit
24b68d4f90
|
@ -8,7 +8,7 @@ if [ -z "${PREFIX-}" ]; then
|
||||||
PREFIX=""
|
PREFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$NODE_PATH" ]; then
|
if [ -n "$NODE_PATH" ]; then
|
||||||
node_install_path=$(dirname $(dirname $NODE_PATH))
|
node_install_path=$(dirname $(dirname $NODE_PATH))
|
||||||
else
|
else
|
||||||
node_install_path=$PREFIX/usr/local
|
node_install_path=$PREFIX/usr/local
|
||||||
|
|
Loading…
Reference in New Issue