From 16f2d250333d5c40207da1f3a877389bc4135910 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 23 Apr 2014 16:49:24 +1000 Subject: [PATCH] BUGFIX: remove blank strings from ENV passing --- launcher | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher b/launcher index b6704f3..ca777c1 100755 --- a/launcher +++ b/launcher @@ -169,7 +169,9 @@ RUBY env=() while read i; do - env[${#env[@]}]=$i + if [ -n "$i" ]; then + env[${#env[@]}]=$i + fi done <<< "$raw" echo "Calculated ENV: ${env[@]}" -- 2.25.1