Update setup-min.sh

This commit is contained in:
AJ ONeal 2017-05-15 21:57:29 -06:00
parent 5a1edbd2e4
commit 933ceba356
1 changed files with 3 additions and 3 deletions

View File

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