Fix printing of filenames with whitespace in check-files (rhbz#430428)

This commit is contained in:
Panu Matilainen 2008-01-28 09:20:33 +02:00
parent f2c6bef540
commit 339f85db55
1 changed files with 2 additions and 1 deletions

View File

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