fix bash syntax for old bashes like on SLES 9 again
authorAdrian Schröter <adrian@suse.de>
Mon, 8 Feb 2010 12:32:13 +0000 (13:32 +0100)
committerAdrian Schröter <adrian@suse.de>
Mon, 8 Feb 2010 12:32:13 +0000 (13:32 +0100)
init_buildsystem

index 918f3e1..fbfbac6 100755 (executable)
@@ -256,10 +256,10 @@ maybe_add_all_zypp_repos()
        if [ "$i" = "zypp://" ]; then
            for j in `grep -l enabled=1 /etc/zypp/repos.d/*.repo`; do
                j="${j#/etc/zypp/repos.d/}"
-               r+=("zypp://${j%.repo}")
+               r=("${r[@]}" "zypp://${j%.repo}")
            done
        else
-           r+=("$i")
+           r=("${r[@]}" "$i")
        fi
     done
     repos=("${r[@]}")