summaryrefslogtreecommitdiff
path: root/db-remove
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 11:12:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 11:12:18 -0400
commite8f411803648f64b386dd2970b024b9ba15ba682 (patch)
treeca56d48e18c4801be9ab00bee901a830cc6e9ec9 /db-remove
parentbcaa90a2e6f26191ff4aa9e0279080d1efeec3e7 (diff)
The eval+printf %q thing wasn't worth the hard-to-read code
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 970d252..c4439a6 100755
--- a/db-remove
+++ b/db-remove
@@ -31,7 +31,7 @@ for pkgbase in "${pkgbases[@]}"; do
msg "Removing %s from [%s]..." "$pkgbase" "$repo"
path="$(xbs releasepath "$pkgbase" "$repo" "$arch")"
if [ -d "$path" ]; then
- eval "remove_pkgs+=($(. "$path/PKGBUILD"; printf '%q ' "${pkgname[@]}"))"
+ remove_pkgs+=($(. "$path/PKGBUILD"; echo "${pkgname[@]}"))
xbs unrelease "$pkgbase" "$repo" "$arch"
else
warning "%s not found in XBS %s" "$pkgbase" "$repo-$arch"