Introduced -d option into diff being run in check-files. This will

ensure that a minimum set of changes is computed, avoiding spurious
errors about files that are actually being packaged.

CVS patchset: 6970
CVS date: 2003/12/10 20:36:33
This commit is contained in:
niemeyer 2003-12-10 20:36:33 +00:00
parent 1e01bac6de
commit 4c5d56d3bf
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ FILES_RPM=`mktemp $TMPDIR/rpmXXXXXX`
find $RPM_BUILD_ROOT -type f | LC_ALL=C sort > $FILES_DISK
LC_ALL=C sort > $FILES_RPM
for f in `diff "$FILES_DISK" "$FILES_RPM" | grep "^< " | cut -c3-`; do
for f in `diff -d "$FILES_DISK" "$FILES_RPM" | grep "^< " | cut -c3-`; do
echo $f | sed -e "s#^$RPM_BUILD_ROOT# #g"
done