profile.d

:(
This commit is contained in:
Kenneth Reitz
2012-07-16 18:03:13 -04:00
parent 03c3aebca8
commit e4979f33e3
+2 -2
View File
@@ -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