summaryrefslogtreecommitdiff
path: root/advertise-provided-libraries.PKGBUILDpatch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-04 16:29:38 +0200
committerErich Eckner <git@eckner.net>2020-06-04 16:29:38 +0200
commit48d671a63cd6b239735b8c4a763b2e5b0db9470e (patch)
tree77457cef13a84f480566396f859cddfaddfc868c /advertise-provided-libraries.PKGBUILDpatch
parent0b75f9f4bfe46a5e02e1a5256e2040a6f6a4fefb (diff)
downloadarchlinuxewe.git.save-48d671a63cd6b239735b8c4a763b2e5b0db9470e.tar.xz
advertise-provided-libraries.PKGBUILDpatch: fix typoes
Diffstat (limited to 'advertise-provided-libraries.PKGBUILDpatch')
-rw-r--r--advertise-provided-libraries.PKGBUILDpatch4
1 files changed, 2 insertions, 2 deletions
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
)
)