Skip to content

Commit ae1859a

Browse files
Recognize another possible x86-64 name in rel-rpaths
`file` on RHEL5 reports 64-bit binaries as "AMD x86-64", instead of "x86-64" that we expect. Add another possible item to list of recognized ones. Signed-off-by: Anton Kolesov <[email protected]>
1 parent c073089 commit ae1859a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rel-rpaths.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ fi
5050

5151
# Get list of x86/x86_64 executables
5252
files=$(find -type f -exec file {} \; | \
53-
grep 'ELF 32-bit LSB executable, Intel 80386\|ELF 64-bit LSB executable, x86-64' | \
53+
grep 'ELF 32-bit LSB executable, Intel 80386\|ELF 64-bit LSB executable, x86-64'\
54+
'\|ELF 64-bit LSB executable, AMD x86-64' | \
5455
${SED} -e 's/:.*$//')
5556

5657
for f in $files; do

0 commit comments

Comments
 (0)