rpm-build/scripts/files.req.files.in

5 lines
169 B
Plaintext
Raw Normal View History

2007-03-07 15:24:04 +03:00
#!/bin/sh -efu
dirlist=$(set +f; grep -h ^/. @RPMCONFIGDIR@/*-files.req.list |
while read -r d pkg; do echo "${d%/}"; done)
cut -f1 |fgrep "${dirlist:?}" || [ $? = 1 ]