diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 11:12:18 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 11:12:18 -0400 |
commit | e8f411803648f64b386dd2970b024b9ba15ba682 (patch) | |
tree | ca56d48e18c4801be9ab00bee901a830cc6e9ec9 /db-remove | |
parent | bcaa90a2e6f26191ff4aa9e0279080d1efeec3e7 (diff) |
The eval+printf %q thing wasn't worth the hard-to-read code
Diffstat (limited to 'db-remove')
-rwxr-xr-x | db-remove | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |