From 250aaefb27115e712b8de42cef601238ca22c260 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 19 Jan 2013 11:06:46 -0500 Subject: paccache: pass the --file option to pacsort Resolves FS#33455. Signed-off-by: Dave Reisner Signed-off-by: Allan McRae --- contrib/paccache.sh.in | 4 ++-- 1 file 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[@]}") -- cgit v1.2.3-70-g09d2