rpm-build/scripts/files.req.in
2007-03-12 15:05:18 +03:00

19 lines
255 B
Bash
Executable File

#!/bin/sh -efu
. @RPMCONFIGDIR@/functions
list=$(grep ^/. @RPMCONFIGDIR@/files.req.list)
FilesReq()
{
local f="$1" d=; shift
for d in $list; do
case "$f" in
"${RPM_BUILD_ROOT-}$d"/*)
echo "$d" ;;
esac
done
}
ArgvFileAction FilesReq "$@"