Permalink
Browse files

Unset git dir env var

  • Loading branch information...
1 parent 92fde6c commit abf09e1539ac5a4040a2be88ae8fd324b27ff46e @bergie committed May 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/compile
View
@@ -48,13 +48,16 @@ ln -s /app/php/bin/php bin/php
# check if we have Composer dependencies
if [ -f www/composer.json ]; then
+ GIT_DIR_ORIG=$GIT_DIR
+ unset $GIT_DIR
echo "-----> Installing Composer dependencies"
COMPOSER_URL="http://getcomposer.org/composer.phar"
curl --silent --max-time 60 --location "$COMPOSER_URL" > www/composer.phar
cd www
LD_LIBRARY_PATH=$BUILD_DIR/php/ext $BUILD_DIR/php/bin/php composer.phar install -v
cd $BUILD_DIR
rm www/composer.phar
+ export GIT_DIR=$GIT_DIR_ORIG
fi
cat >>boot.sh <<EOF

0 comments on commit abf09e1

Please sign in to comment.