From 497779257683e1c4ee2f2bf4c25687b34323c6be Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 23 Mar 2018 20:06:55 +0100 Subject: bin/check-opcodes: fix find expression to retrieve libraries only --- bin/check-opcodes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/check-opcodes') diff --git a/bin/check-opcodes b/bin/check-opcodes index c7ab4a9..bd96cc6 100755 --- a/bin/check-opcodes +++ b/bin/check-opcodes @@ -101,7 +101,7 @@ log "Checking for architecture: $ARCH ($OPCODE_ARGS)" bsdtar --no-fflags -x -C $tmp_dir -f $PACKAGE # shellcheck disable=SC2044 -for absfile in $(find $tmp_dir -name '*.so*' -type f); do +for absfile in $(find $tmp_dir -regextype grep -regex '.*\.so\(\.[0-9.]\+\)\?' -type f); do file=$(basename $absfile) log "Checking shared library: $file" readelf -a $absfile > $tmp_dir/$file.elf -- cgit v1.2.3