rpm-build/scripts/shebang.req.files

9 lines
196 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 not executable" >&2 ;;
esac
done