summaryrefslogtreecommitdiff
path: root/pin-dependencies.PKGBUILDpatch
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-08-28 15:47:36 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-08-28 15:47:36 +0200
commit2723aa2aea3b5d2fe641c825fbcee48a23eaf663 (patch)
treead4a4846b4b13fc3fda89214543392e843d7cd49 /pin-dependencies.PKGBUILDpatch
parent14c1868323a1f9b768979e1da689c025e9a5e4a5 (diff)
downloadarchlinuxewe-2723aa2aea3b5d2fe641c825fbcee48a23eaf663.tar.xz
save pin-dependency log to tmp file, too
Diffstat (limited to 'pin-dependencies.PKGBUILDpatch')
-rw-r--r--pin-dependencies.PKGBUILDpatch27
1 files changed, 15 insertions, 12 deletions
diff --git a/pin-dependencies.PKGBUILDpatch b/pin-dependencies.PKGBUILDpatch
index c65f30d81..8917f63ed 100644
--- a/pin-dependencies.PKGBUILDpatch
+++ b/pin-dependencies.PKGBUILDpatch
@@ -75,18 +75,21 @@ if printf '%s\n' "${arch[@]}" | grep -qvxF any; then
| sort -u
)
); then
- printf 'There are discrepancies between the _pinned_dependencies and the linked libraries in %s'"'"'s %s():\n' \
- "${pkgbase:-${pkgname}}" \
- "${FUNCNAME[1]}"
- printf '%s\n' "${_errors}" \
- | sed '
- s/^</actual /
- t
- s/^>/claimed /
- t
- d
- ' \
- | sort -k1,1
+ {
+ printf 'There are discrepancies between the _pinned_dependencies and the linked libraries in %s'"'"'s %s():\n' \
+ "${pkgbase:-${pkgname}}" \
+ "${FUNCNAME[1]}"
+ printf '%s\n' "${_errors}" \
+ | sed '
+ s/^</actual /
+ t
+ s/^>/claimed /
+ t
+ d
+ ' \
+ | sort -k1,1
+ } \
+ | tee -a /tmp/pin-dependencies.log
return 1
fi
fi