scripts/brp-compress.in: Avoid non-standard info directories (ALT#19993)

This commit is contained in:
Дмитрий Левин 2009-05-20 21:07:11 +00:00
parent ea72e04162
commit 213e004614

View File

@ -49,7 +49,9 @@ StripSuffix()
printf %s "$1"
}
for d in `find "$RPM_BUILD_ROOT$RPM_COMPRESS_TOPDIR" -type d -name info`; do
for d in "$RPM_BUILD_ROOT/usr/share/info"; do
[ -z "${d##$RPM_BUILD_ROOT$RPM_COMPRESS_TOPDIR/*}" -a -d "$d" ] ||
continue
set -f
if [ -n "$RPM_COMPRESS_SKIPLIST" ]; then
for skip in $RPM_COMPRESS_SKIPLIST; do