diff options
author | Erich Eckner <git@eckner.net> | 2020-06-04 16:29:38 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-06-04 16:29:38 +0200 |
commit | 48d671a63cd6b239735b8c4a763b2e5b0db9470e (patch) | |
tree | 77457cef13a84f480566396f859cddfaddfc868c /advertise-provided-libraries.PKGBUILDpatch | |
parent | 0b75f9f4bfe46a5e02e1a5256e2040a6f6a4fefb (diff) | |
download | archlinuxewe.git.save-48d671a63cd6b239735b8c4a763b2e5b0db9470e.tar.xz |
advertise-provided-libraries.PKGBUILDpatch: fix typoes
Diffstat (limited to 'advertise-provided-libraries.PKGBUILDpatch')
-rw-r--r-- | advertise-provided-libraries.PKGBUILDpatch | 4 |
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 ) ) |