Commit 5d6bb2c7 authored by David Dollar's avatar David Dollar

clean up for debugging

parent bf3d70b0
#!/usr/bin/env bash
# bin/compile <build-dir> <cache-dir>
# fail fast
set -e
# clean up leaking environment
unset GIT_DIR
function error() {
echo " ! $*"
......@@ -24,7 +24,7 @@ function indent() {
esac
}
run_npm() {
function run_npm() {
command="$1"
HOME="$BUILD_DIR" $VENDORED_NODE/bin/node $VENDORED_NPM/cli.js $command 2>&1 | indent
......@@ -34,9 +34,6 @@ run_npm() {
fi
}
# clean up leaking environment
unset GIT_DIR
function manifest_versions() {
curl "http://${S3_BUCKET}.s3.amazonaws.com/manifest.${1}" -s -o - | tr -s '\n' ' '
}
......
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