check-files: ignore -wholename "$RPM_BUILD_ROOT/.*" paths

This commit is contained in:
Alexey Tourbin 2008-01-22 21:11:19 +03:00
parent 11c666284f
commit 58e433c8be

View File

@ -40,6 +40,7 @@ WORKDIR="$(mktemp -dt "$PROG.XXXXXXXXXX")"
export LC_ALL=C
sort >"$WORKDIR/packaged"
find "$RPM_BUILD_ROOT" \( -type f -o -type l \) |sort >"$WORKDIR/disk"
find "$RPM_BUILD_ROOT" -not -wholename "$RPM_BUILD_ROOT/.*" \( -type f -o -type l \) |
sort >"$WORKDIR/disk"
join -v1 "$WORKDIR/disk" "$WORKDIR/packaged" |sed -e "s#^$RPM_BUILD_ROOT# #g"