Improve glibc check to also check keytar

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-05-14 10:45:49 +01:00
parent 74729d1a28
commit 0884e966fe
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
2 changed files with 4 additions and 2 deletions

View file

@ -139,7 +139,9 @@ jobs:
fi
./scripts/glibc-check.sh dist/linux-*unpacked/element-desktop*
./scripts/glibc-check.sh dist/linux-*unpacked/resources/app.asar.unpacked/node_modules/matrix-seshat/index.node
for filename in $FILES; do
./scripts/glibc-check.sh $filename
done
env:
ARCH: ${{ steps.config.outputs.arch }}

View file

@ -36,7 +36,7 @@ vercomp() {
IFS="
"
VERS=$(objdump -T "$BINARY" | grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -u)
VERS=$(objdump -T "$BINARY" | grep GLIBC_ | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -u)
for VER in $VERS; do
vercomp "$VER" "$MAX_VER"