summaryrefslogtreecommitdiff
path: root/db-remove
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-24 12:32:44 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 00:45:25 -0600
commit7efc4b2b48f9ed1669a17b3cd307db0f17e193e9 (patch)
tree1a0aef85befe7a84b7c3fef6b11632afce958d3b /db-remove
parent70a3f4fb4d6994e73b5ad19b4218bde609150249 (diff)
db-remove: remove_pkgs= should have been remove_pkgs+=
Because of this mistake, it didn't properly handle specifying multiple pkgbases.
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-remove b/db-remove
index 8fff9db..2f18ff7 100755
--- a/db-remove
+++ b/db-remove
@@ -31,7 +31,7 @@ for pkgbase in "${pkgbases[@]}"; do
msg "Removing %s from [%s]..." "$pkgbase" "$repo"
if [ -d "${SVNREPO}/$repo/$pkgbase" ]; then
- remove_pkgs=($(. "${SVNREPO}/$repo/$pkgbase/PKGBUILD"; echo "${pkgname[@]}"))
+ remove_pkgs+=($(. "${SVNREPO}/$repo/$pkgbase/PKGBUILD"; echo "${pkgname[@]}"))
else
warning "%s not found in ABS(libre)" "$pkgbase"
warning "Removing only %s from the repo" "$pkgbase"