projects
/
discourse_docker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BUGFIX: add quoting for env vars
[discourse_docker.git]
/
launcher
diff --git
a/launcher
b/launcher
index 7b107a1974a41a3b0331c4f790f1b4a4a8bf80d9..d35ab09978324b865ce925abe5fe6bd13467d4c6 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-88,7
+88,7
@@
set_template_info() {
p e
end
end
- puts env.map{|k,v| "-e #{k}=
#{v}
" }.join(" ")
+ puts env.map{|k,v| "-e #{k}=
'#{v}'
" }.join(" ")
RUBY
env=`exec echo "$input" | docker run -rm -i -a stdin -a stdout $image ruby -e "$env_ruby"`