mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
profile.d
:(
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ LEGACY_VIRTUALENV_LOC="."
|
||||
MODERN_VIRTUALENV_LOC=".heroku/venv"
|
||||
LEGACY_VIRTUALENV_DIRS="bin include lib"
|
||||
LEGACY_VIRTUALENV_TRIGGER="lib/python2.7"
|
||||
PROFILE_PATH="$1/.profile.d/python"
|
||||
PROFILE_PATH="$1/profile.d/python"
|
||||
|
||||
|
||||
# Python version. This will be used in the future to specify custom Pythons.
|
||||
@@ -94,7 +94,7 @@ function set-env (){
|
||||
|
||||
# Usage: $ set-default-env key value
|
||||
function set-default-env (){
|
||||
echo "export $1=\${\$$1:-$2}" >> $PROFILE_PATH
|
||||
echo "export $1=\${$1:-$2}" >> $PROFILE_PATH
|
||||
}
|
||||
|
||||
# ## Build Time
|
||||
|
||||
Reference in New Issue
Block a user