From 1d6b87d1701427874f50bc8e18a1a9284e48b807 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 15 Jan 2014 14:49:39 -0800 Subject: [PATCH] BUGFIX: add quoting for env vars --- launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher b/launcher index 7b107a1..d35ab09 100755 --- 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"` -- 2.25.1