Update setup-node-mavericks.bash
This commit is contained in:
父節點
85ad20281f
當前提交
24b68d4f90
@ -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
|
||||
|
載入中…
x
新增問題並參考
Block a user