From 7a092241d1ee2b515a652ad71a134162a6f05cde Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 23 Jan 2019 13:27:21 +0800 Subject: [PATCH] Fix bug introduced in faaa8c17ca08d22563ab0153b7f964d937f269bf. --- launcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher b/launcher index d45b713..5fb068a 100755 --- a/launcher +++ b/launcher @@ -337,7 +337,7 @@ set_template_info() { p e end end - puts env.map{|k,v| "-e\n#{k}=#{v}" }.join("\n") + puts env.map{|k,v| "-e #{k}=#{v}" }.join("\n") RUBY tmp_input_file=$(mktemp) @@ -353,7 +353,7 @@ RUBY if [ "$i" == "*ERROR." ]; then ok=0 elif [ -n "$i" ]; then - env[${#env[@]}]=$(echo $i | sed s/{{config}}/${config}/g) + env[${#env[@]}]=$(echo "$i" | sed s/{{config}}/${config}/g) fi done <<< "$raw" -- 2.25.1