rpm-build/scripts/pam.req.files

6 lines
146 B
Bash

#!/bin/sh -efu
while IFS=$'\t' read -r f t; do
[ -z "${f##${RPM_BUILD_ROOT-}/etc/pam.d/*}" -a -z "${t##*ASCII *text*}" ] &&
echo "$f" ||:
done