Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
slugrunner: Merge pull request #4 from gabrtv/fix-config-vars
Browse files Browse the repository at this point in the history
Use string literals when constructing config_vars
  • Loading branch information
progrium committed Dec 5, 2013
2 parents 72416ee + 7b4b9d4 commit e30b1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/init
Expand Up @@ -18,7 +18,7 @@ cd $HOME

mkdir -p .profile.d
if [[ -f .release ]]; then
ruby -e "require 'yaml';(YAML.load_file('.release')['config_vars'] || {}).each{|k,v| puts \"#{k}=#{v}\"}" > .profile.d/config_vars
ruby -e "require 'yaml';(YAML.load_file('.release')['config_vars'] || {}).each{|k,v| puts \"#{k}='#{v}'\"}" > .profile.d/config_vars
fi
for file in .profile.d/*; do
source $file
Expand Down

0 comments on commit e30b1cf

Please sign in to comment.