Skip to content

Commit

Permalink
unset GIT_DIR at beginning of compile
Browse files Browse the repository at this point in the history
  • Loading branch information
dzuelke committed Mar 16, 2015
1 parent a06818b commit 639f051
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ source $BP_DIR/bin/util/common.sh
source $BP_DIR/bin/util/newrelic.sh
source $BP_DIR/bin/util/blackfire.sh

# if this is set it prevents Git clones (e.g. for Composer installs from source) during the build in some circumstances, and it is set in SSH Git deploys to Heroku
unset GIT_DIR

export_env_dir "$ENV_DIR" '^[A-Z_][A-Z0-9_]*$' '^(HOME|PATH|GIT_DIR|CPATH|CPPATH|LD_PRELOAD|LIBRARY_PATH|LD_LIBRARY_PATH|STACK|S3_URL|RTVS_URL|REQUEST_ID)$'

BUILDPACK_URL=${BUILDPACK_URL:-} # Anvil has none
Expand Down

0 comments on commit 639f051

Please sign in to comment.