From 24b68d4f908d85d648374831c73ed42feb95cfea Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 May 2017 21:54:13 -0600 Subject: [PATCH] Update setup-node-mavericks.bash --- setup-node-mavericks.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-node-mavericks.bash b/setup-node-mavericks.bash index 6b98fe7..2c73061 100644 --- a/setup-node-mavericks.bash +++ b/setup-node-mavericks.bash @@ -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