Fix printing of filenames with whitespace in check-files (rhbz#430428)
This commit is contained in:
parent
f2c6bef540
commit
339f85db55
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue