From: Sam Date: Wed, 23 Apr 2014 06:49:24 +0000 (+1000) Subject: BUGFIX: remove blank strings from ENV passing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=16f2d250333d5c40207da1f3a877389bc4135910;p=discourse_docker.git BUGFIX: remove blank strings from ENV passing --- 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[@]}"