Commit e4979f33 authored by Kenneth Reitz's avatar Kenneth Reitz

profile.d

:(
parent 03c3aebc
...@@ -53,7 +53,7 @@ LEGACY_VIRTUALENV_LOC="." ...@@ -53,7 +53,7 @@ LEGACY_VIRTUALENV_LOC="."
MODERN_VIRTUALENV_LOC=".heroku/venv" MODERN_VIRTUALENV_LOC=".heroku/venv"
LEGACY_VIRTUALENV_DIRS="bin include lib" LEGACY_VIRTUALENV_DIRS="bin include lib"
LEGACY_VIRTUALENV_TRIGGER="lib/python2.7" 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. # Python version. This will be used in the future to specify custom Pythons.
...@@ -94,7 +94,7 @@ function set-env (){ ...@@ -94,7 +94,7 @@ function set-env (){
# Usage: $ set-default-env key value # Usage: $ set-default-env key value
function set-default-env (){ function set-default-env (){
echo "export $1=\${\$$1:-$2}" >> $PROFILE_PATH echo "export $1=\${$1:-$2}" >> $PROFILE_PATH
} }
# ## Build Time # ## Build Time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment