Commit 06f629ce authored by Zeke Sikelianos's avatar Zeke Sikelianos

Merge pull request #34 from ryanbrainard/cat-npm-debug-log

Cat npm-debug.log on exit
parents 427bd1e7 98465409
...@@ -101,6 +101,14 @@ function package_download() { ...@@ -101,6 +101,14 @@ function package_download() {
curl $package -s -o - | tar xzf - -C $location curl $package -s -o - | tar xzf - -C $location
} }
function cat_npm_debug_log() {
if [ -f $BUILD_DIR/npm-debug.log ]; then
cat $BUILD_DIR/npm-debug.log
fi
}
trap cat_npm_debug_log EXIT
bootstrap_node=$(mktmpdir bootstrap_node) bootstrap_node=$(mktmpdir bootstrap_node)
package_download "nodejs" "0.4.7" $bootstrap_node package_download "nodejs" "0.4.7" $bootstrap_node
......
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