Commit 03c3aebc authored by Kenneth Reitz's avatar Kenneth Reitz

fix set-default-env escaping

parent 487a5ffb
...@@ -94,10 +94,9 @@ function set-env (){ ...@@ -94,10 +94,9 @@ 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