summaryrefslogtreecommitdiff
path: root/db-remove
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-17 23:23:31 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-17 23:23:31 -0400
commitc54e53593927e5469cfe13bacd29d25168235606 (patch)
treeaa9c0956c87bd836995b8d4086c8a472302eb571 /db-remove
parentb1ac233691ac28645cb729d7d5e7c7b51fc899bd (diff)
more quoting fixes
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 33d0933..73919be 100755
--- a/db-remove
+++ b/db-remove
@@ -31,7 +31,7 @@ for pkgbase in "${pkgbases[@]}"; do
msg "Removing $pkgbase from [$repo]..."
path="$(xbs releasepath "$pkgbase" "$repo" "$arch")"
if [ -d "$path" ]; then
- remove_pkgs+=($(. "$path/PKGBUILD"; echo ${pkgname[@]}))
+ eval "remove_pkgs+=($(. "$path/PKGBUILD"; printf '%q ' "${pkgname[@]}"))"
xbs unrelease "$pkgbase" "$repo" "$arch"
else
warning "$pkgbase not found in XBS $repo-$arch"