mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
.heroku/injection_disabled
This commit is contained in:
+12
-1
@@ -104,8 +104,19 @@ fi
|
||||
# ### The Cache
|
||||
mkdir -p $CACHE_DIR
|
||||
|
||||
|
||||
set +e
|
||||
|
||||
# Create set-aside `.heroku` folder.
|
||||
mkdir -p .heroku
|
||||
mkdir .heroku
|
||||
HEROKU_DIR_STATUS=$?
|
||||
|
||||
# This is a new app, disable injection.
|
||||
[ $HEROKU_DIR_STATUS -nq 0 ] && {
|
||||
touch .heroku/injection_disabled
|
||||
}
|
||||
set -e
|
||||
|
||||
|
||||
# Nice defaults.
|
||||
LEGACY_VIRTUALENV=false
|
||||
|
||||
Reference in New Issue
Block a user