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:
authorErich Eckner <git@eckner.net>2022-05-18 21:23:22 +0200
committerErich Eckner <git@eckner.net>2022-05-18 21:23:22 +0200
commitfd01e709dca462a052fec404a7887545b635223d (patch)
tree84b47177682803dc04dbf2fd04de530e46d754f8 /bin/check-opcodes
parente7df9a4f5aa42a5a59fe715365532cc9323c77e9 (diff)
make linter happy
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"