From 48d671a63cd6b239735b8c4a763b2e5b0db9470e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Jun 2020 16:29:38 +0200 Subject: advertise-provided-libraries.PKGBUILDpatch: fix typoes --- advertise-provided-libraries.PKGBUILDpatch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'advertise-provided-libraries.PKGBUILDpatch') diff --git a/advertise-provided-libraries.PKGBUILDpatch b/advertise-provided-libraries.PKGBUILDpatch index b7d2203a..97bc59f4 100644 --- a/advertise-provided-libraries.PKGBUILDpatch +++ b/advertise-provided-libraries.PKGBUILDpatch @@ -4,7 +4,7 @@ if printf '%s\n' "${arch[@]}" | grep -qvxF any; then $( find "${pkgdir}/usr/lib" \ -name '*.so' -printf '%p\n' \ - | while read -r lib; do + | while read -r fn; do if ! LC_ALL=C readelf -h "$fn" 2>/dev/null | grep -q '.*Type:.*DYN (Shared object file).*'; then # no shared object continue @@ -13,7 +13,7 @@ if printf '%s\n' "${arch[@]}" | grep -qvxF any; then # not versioned continue fi - printf '%s\n' "${lib##*/}" + printf '%s\n' "${fn##*/}" done ) ) -- cgit v1.2.3-54-g00ecf