diff options
author | niemeyer <devnull@localhost> | 2003-12-10 20:36:33 +0000 |
---|---|---|
committer | niemeyer <devnull@localhost> | 2003-12-10 20:36:33 +0000 |
commit | 4c5d56d3bf4cded801abe8830350c5cf973e2bfc (patch) | |
tree | 664e074970ee76aed657567782568fe3c9bb5f80 /scripts | |
parent | 1e01bac6de16cec342c146a8aae1d7057c28867e (diff) | |
download | rpm-4c5d56d3bf4cded801abe8830350c5cf973e2bfc.tar.gz rpm-4c5d56d3bf4cded801abe8830350c5cf973e2bfc.tar.bz2 rpm-4c5d56d3bf4cded801abe8830350c5cf973e2bfc.zip |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-files b/scripts/check-files index 2fffc5ec5..231719352 100755 --- a/scripts/check-files +++ b/scripts/check-files @@ -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 |