Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/check-opcodes
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-03 11:57:28 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-06-03 11:57:28 +0200
commit348ccba102bdcda923651ece405ccb29ae1af46f (patch)
tree6503b7ec81f2684dfcc55e91abcba7eeb4ca5e41 /bin/check-opcodes
parentb8752770452ffea0bf1ce21a8f9bef186ba8fc12 (diff)
parenta2e2eed8f3d9b7b8a2b4149cba69063e6e8ab132 (diff)
Merge branch 'master' of ssh://git.archlinux32.org/builder
Diffstat (limited to 'bin/check-opcodes')
-rwxr-xr-xbin/check-opcodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-opcodes b/bin/check-opcodes
index e8bb807..2949819 100755
--- a/bin/check-opcodes
+++ b/bin/check-opcodes
@@ -122,7 +122,7 @@ debug "Checking for architecture: $ARCH ($OPCODE_ARGS).."
# shellcheck disable=SC2044
for absfile in $(find $tmp_dir \( -regextype grep -regex '.*\.so\(\.[0-9.]\+\)\?' -type f \) -o \( -executable -type f \) ); do
file=$(basename $absfile)
- relfile=${absfile#$tmp_dir}
+ relfile=${absfile#"${tmp_dir}"}
debug "Checking file: $relfile"
if ! readelf -a $absfile > $tmp_dir/$file.elf 2>/dev/null; then
debug "readelf failed, ignoring file"