Commit 2311a12b authored by zeke's avatar zeke

roll back the .profile.d NODE_ENV change

parent f6062e5c
......@@ -98,8 +98,7 @@ fi
# Update the PATH
status "Building runtime environment"
mkdir -p $build_dir/.profile.d
echo "export PATH=\"\$HOME/vendor/node/bin:\$HOME/bin:\$HOME/node_modules/.bin:\$PATH\";\
export NODE_ENV=${NODE_ENV:-production}" > $build_dir/.profile.d/nodejs.sh
echo "export PATH=\"\$HOME/vendor/node/bin:\$HOME/bin:\$HOME/node_modules/.bin:\$PATH\";" > $build_dir/.profile.d/nodejs.sh
# Post package.json to nomnom service
# Use a subshell so failures won't break the build.
......
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