summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-19 17:06:46 +0100
committerAllan McRae <allan@archlinux.org>2013-01-28 14:38:46 +0100
commit250aaefb27115e712b8de42cef601238ca22c260 (patch)
treebf1cce67c0f9089ba0d8e623da3ba20f89142dd6 /contrib
parenta64a713fc2a56cf6182e4e7c7c50533ad0afe32a (diff)
downloadpacman-250aaefb27115e712b8de42cef601238ca22c260.tar.gz
pacman-250aaefb27115e712b8de42cef601238ca22c260.tar.xz
paccache: pass the --file option to pacsort
Resolves FS#33455. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/paccache.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/paccache.sh.in b/contrib/paccache.sh.in
index e8136559..29e2603a 100644
--- a/contrib/paccache.sh.in
+++ b/contrib/paccache.sh.in
@@ -149,7 +149,7 @@ summarize() {
else
printf "%s$delim" "$pkg"
fi
- done < <(printf '%s\n' "$@" | pacsort)
+ done < <(printf '%s\n' "$@" | pacsort --files)
fi
printf -v output 'finished dry run: %d candidates' "$filecount"
fi
@@ -283,7 +283,7 @@ cd "$cachedir" >/dev/null || die "failed to chdir to \`%s'" "$cachedir"
# note that these results are returned in an arbitrary order from awk, but
# they'll be resorted (in summarize) iff we have a verbosity level set.
IFS=$'\n' read -r -d '' -a candidates < \
- <(printf '%s\n' *.pkg.tar?(.+([^.])) | pacsort |
+ <(printf '%s\n' *.pkg.tar?(.+([^.])) | pacsort --files |
pkgfilter "$keep" "$scanarch" \
"${#whitelist[*]}" "${whitelist[@]}" \
"${#blacklist[*]}" "${blacklist[@]}")