Commit 98465409 authored by Ryan Brainard's avatar Ryan Brainard

cat npm-debug.log on exit

parent 427bd1e7
...@@ -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