Skip to content
Snippets Groups Projects
Commit 03c3aebc authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

fix set-default-env escaping

parent 487a5ffb
No related branches found
No related tags found
No related merge requests found
......@@ -94,10 +94,9 @@ 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
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment