Permalink
Browse files

Fix git dependency for nodejs, appears to have been lost during refac…

…toring
  • Loading branch information...
1 parent 4e3abc8 commit af25831f7216bd5e87e9b21ea2656393d9366fb0 @jasherai committed Mar 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/compile
View
@@ -43,7 +43,7 @@ function run_npm() {
command="$1"
cd $BUILD_DIR
- HOME="$BUILD_DIR" $VENDORED_NODE/bin/node $VENDORED_NPM/cli.js $command 2>&1 | indent
+ HOME="$BUILD_DIR" GIT_DIR=".git" $VENDORED_NODE/bin/node $VENDORED_NPM/cli.js $command 2>&1 | indent
if [ "${PIPESTATUS[*]}" != "0 0" ]; then
echo " ! Failed to $command dependencies with npm"

0 comments on commit af25831

Please sign in to comment.