diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-08-15 01:38:31 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-08-15 01:38:31 -0400 |
| commit | a4f6d4ae6823c3d09c2d2ee18f00fb482ec41fe1 (patch) | |
| tree | 9d591eaf93c1767e6cd3b22fa69a93d903377b55 /sbopkglint.d | |
| parent | fe97a4d21984b30ac0afb6d2628a8dbb0ee2cbd3 (diff) | |
| download | sbo-maintainer-tools-a4f6d4ae6823c3d09c2d2ee18f00fb482ec41fe1.tar.gz | |
sbopkglint: Fix glibc detection (GLIBC_PRIVATE).
Diffstat (limited to 'sbopkglint.d')
| -rw-r--r-- | sbopkglint.d/20-arch.t.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh index c904fb2..b2a877c 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -44,7 +44,7 @@ glibc_check() { # get the highest required glibc verson from the binary. there *must* # be a cleaner way to do this, but I haven't found it yet. ver="$( objdump -p "$1" 2>/dev/null | \ - sed -n '/Version Ref/,$s/GLIBC_/&/p' | \ + sed -n '/Version Ref/,$s/GLIBC_[0-9]\./&/p' | \ rev | cut -d_ -f1 | rev | sort -V | tail -n 1 )" [ "$ver" = "" ] && return # probably a static binary |
