Do a global replace.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Wed, 15 Nov 2017 23:46:46 +0000 (07:46 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Wed, 15 Nov 2017 23:46:46 +0000 (07:46 +0800)
launcher

index fea8aac690c5375f52123043ef28fbb833e4c998..9d1a543d0765237f313bd8b998ff7d397535edf2 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -371,7 +371,7 @@ RUBY
       if [ "$i" == "*ERROR." ]; then
         ok=0
       elif [ -n "$i" ]; then
-        labels[${#labels[@]}]=$(echo $i | sed s/{{config}}/${config}/)
+        labels[${#labels[@]}]=$(echo $i | sed s/{{config}}/${config}/g)
       fi
     done <<< "$raw"