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:
384d702
)
BUGFIX: remove blank strings from ENV passing
author
Sam
<sam.saffron@gmail.com>
Wed, 23 Apr 2014 06:49:24 +0000
(16:49 +1000)
committer
Sam
<sam.saffron@gmail.com>
Wed, 23 Apr 2014 06:49:24 +0000
(16:49 +1000)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index b6704f3d0481dd02f2dff735c2bd8115c11c8e40..ca777c12290ee416839217c5de1ca2380f722569 100755
(executable)
--- 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[@]}"