summaryrefslogtreecommitdiff
path: root/db-move
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 14:45:58 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 14:45:58 -0400
commit6262754028e750dbbacd1d68618bf5553d78f3cd (patch)
tree735090a8c1c23771c7fcc778a26a95de27c374b2 /db-move
parent6638878c5eb6d5116580d06cc3042a5e9beacb7e (diff)
Use += instead of jumping through hoops.
The += operator was introduced in Bash 3.1, and was already used in some places in dbscripts, but not everywhere. For normal strings, this isn't a big deal, but appending to an array without using += is nasty.
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-move b/db-move
index cd67953..b589bca 100755
--- a/db-move
+++ b/db-move
@@ -91,7 +91,7 @@ for pkgbase in "${args[@]:2}"; do
arch_svn mv -q -r HEAD "${svnrepo_from}/$file@" "${svnrepo_to}/"
done
arch_svn rm --force -q "${svnrepo_from}"
- tag_list="$tag_list, $pkgarch"
+ tag_list+=", $pkgarch"
for pkgname in "${pkgnames[@]}"; do
for tarch in "${tarches[@]}"; do