Skip to content

Commit

Permalink
clean up for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jan 13, 2012
1 parent bf3d70b commit 5d6bb2c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions bin/compile
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# bin/compile <build-dir> <cache-dir>

# fail fast
set -e
# clean up leaking environment
unset GIT_DIR

function error() {
echo " ! $*"
Expand All @@ -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

Expand All @@ -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' ' '
}
Expand Down

0 comments on commit 5d6bb2c

Please sign in to comment.