Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jan 13, 2012
1 parent df91075 commit 8bf60df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ if [ -d $CACHE_STORE_DIR ]; then

# move existing node_modules out of the way
if [ -f $CACHE_TARGET_DIR ]; then
echo "moving out"
mv $CACHE_TARGET_DIR $TEMP_NODE_MODULES_DIR/
fi

Expand All @@ -85,6 +86,7 @@ if [ -d $CACHE_STORE_DIR ]; then

# move existing node_modules back into place
if [ -d $TEMP_NODE_MODULES_DIR/node_modules ]; then
echo "moving back"
cp -R $TEMP_NODE_MODULES_DIR/node_modules/* $CACHE_TARGET_DIR/
fi
fi
Expand Down

0 comments on commit 8bf60df

Please sign in to comment.