index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-05-07 12:59:44 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-05-07 12:59:44 +1000 |
commit | 0f988beff8794338485352dc1beafbfcdbb20db1 (patch) | |
tree | e673c51058bddede4ef7f054e79c8ae799809628 /contrib/paccache.sh.in | |
parent | c5716d0e72e47c8cd2ca1a437598eeee54111754 (diff) | |
parent | a4a7336dff8155cfeb37341d1e9e56092439bae6 (diff) |
-rw-r--r-- | contrib/paccache.sh.in | 4 |
diff --git a/contrib/paccache.sh.in b/contrib/paccache.sh.in index c3312733..64c3c536 100644 --- a/contrib/paccache.sh.in +++ b/contrib/paccache.sh.in @@ -308,9 +308,9 @@ totalsaved=$(@SIZECMD@ "${candidates[@]}" | awk '{ sum += $1 } END { print sum } # crush. kill. destroy. (( verbose )) && cmdopts+=(-v) if (( delete )); then - printf '%s\0' "${candidates[@]}" | runcmd xargs -0 rm "${cmdopts[@]}" + runcmd xargs -0a <(printf '%s\0' "${candidates[@]}") rm "${cmdopts[@]}" elif (( move )); then - printf '%s\0' "${candidates[@]}" | runcmd xargs -0 mv "${cmdopts[@]}" -t "$movedir" + runcmd xargs -0a <(printf '%s\0' "${candidates[@]}") mv "${cmdopts[@]}" -t "$movedir" fi summarize "$pkgcount" "${candidates[@]}" |