Use lib instead of modules for certain scripts that assume ../lib from the /bin folder.

master
Tim Caswell 2010-05-04 23:33:42 -05:00
parent d67c7011f4
commit 2527ff6b1f
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -120,7 +120,7 @@ nvm()
PATH="$NVM_DIR/$2/bin:$PATH" PATH="$NVM_DIR/$2/bin:$PATH"
fi fi
export PATH export PATH
export NODE_PATH="$NVM_DIR/$2/modules" export NODE_PATH="$NVM_DIR/$2/lib"
export NODE_BIN="$NVM_DIR/$2/bin" export NODE_BIN="$NVM_DIR/$2/bin"
mkdir -p "$NODE_PATH" mkdir -p "$NODE_PATH"
mkdir -p "$NODE_BIN" mkdir -p "$NODE_BIN"