Commit 9d7a33bb authored by zeke's avatar zeke

get the paths straight

parent 5551cd72
export PATH=$HOME/bin:$HOME/node_modules/.bin:$PATH export PATH=$HOME/node/bin:$HOME/node_modules/.bin:$PATH
\ No newline at end of file \ No newline at end of file
...@@ -16,13 +16,13 @@ echo "$NODE_URL" | indent ...@@ -16,13 +16,13 @@ echo "$NODE_URL" | indent
tar_download $NODE_URL $BUILD_DIR tar_download $NODE_URL $BUILD_DIR
status "Moving node and npm to build directory" status "Moving node and npm to build directory"
mv $BUILD_DIR/node-v$NODE_VERSION-linux-x64 $BUILD_DIR/bin mv $BUILD_DIR/node-v$NODE_VERSION-linux-x64 $BUILD_DIR/node
status "Making node and npm executable" status "Making node and npm executable"
chmod +x $BUILD_DIR/bin/* chmod +x $BUILD_DIR/node/bin/*
status "Adding node and npm to the \$PATH" status "Adding node and npm to the \$PATH"
PATH="$BUILD_DIR/bin:$PATH" PATH=$PATH:$BUILD_DIR/node/bin
status "Installing dependencies with npm" status "Installing dependencies with npm"
cd $BUILD_DIR cd $BUILD_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment