rpm-build/scripts/shebang.req.files

9 lines
199 B
Bash
Executable File

#!/bin/sh -efu
while IFS=$'\t' read -r f t; do
case "$t" in
*'script text executable'*)
[ -x "$f" ] && echo "$f" ||
echo "${0##*/}: executable script $f is not executable" >&2 ;;
esac
done