Commit 37320acd authored by zeke's avatar zeke

build .profile.d on the fly

parent 9d7a33bb
export PATH=$HOME/node/bin:$HOME/node_modules/.bin:$PATH
\ No newline at end of file
......@@ -27,4 +27,8 @@ PATH=$PATH:$BUILD_DIR/node/bin
status "Installing dependencies with npm"
cd $BUILD_DIR
npm install --production
echo "Dependencies installed" | indent
\ No newline at end of file
echo "Dependencies installed" | indent
status "Building runtime environment"
mkdir -p $BUILD_DIR/.profile.d
echo "export PATH=\"\$HOME/node/bin:$HOME/bin:\$HOME/node_modules/.bin:\$PATH\"" > $BUILD_DIR/.profile.d/nodejs.sh
\ No newline at end of file
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