projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56c5f9
)
BUGFIX: add quoting for env vars
author
Sam Saffron
<sam.saffron@gmail.com>
Wed, 15 Jan 2014 22:49:39 +0000
(14:49 -0800)
committer
Sam Saffron
<sam.saffron@gmail.com>
Wed, 15 Jan 2014 22:49:39 +0000
(14:49 -0800)
launcher
patch
|
blob
|
blame
|
history
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"`