Commit 88741a40 authored by Baptiste Daroussin's avatar Baptiste Daroussin
Browse files

check-links.sh: treat PIE executable as elf files

parent 3fcbde5e
......@@ -49,7 +49,7 @@ fi
mime=$(file -L --mime-type $1)
isbin=0
case $mime in
*application/x-executable) isbin=1 ;;
*application/x-executable|*application/x-pie-executable) isbin=1 ;;
*application/x-sharedlib);;
*) echo "Not an elf file" >&2 ; exit 1;;
esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment