Update setup-node-mavericks.bash

This commit is contained in:
AJ ONeal 2017-05-15 21:54:13 -06:00
parent 85ad20281f
commit 24b68d4f90
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if [ -z "${PREFIX-}" ]; then
PREFIX=""
fi
if [ -z "$NODE_PATH" ]; then
if [ -n "$NODE_PATH" ]; then
node_install_path=$(dirname $(dirname $NODE_PATH))
else
node_install_path=$PREFIX/usr/local