projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c6bef
)
Fix printing of filenames with whitespace in check-files (rhbz#430428)
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 28 Jan 2008 07:20:33 +0000
(09:20 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 28 Jan 2008 07:20:33 +0000
(09:20 +0200)
scripts/check-files
patch
|
blob
|
history
diff --git
a/scripts/check-files
b/scripts/check-files
index
cc7b944
..
b397f1c
100755
(executable)
--- a/
scripts/check-files
+++ b/
scripts/check-files
@@
-20,7
+20,8
@@
FILES_RPM=`mktemp $TMPDIR/rpmXXXXXX`
find $RPM_BUILD_ROOT -type f -o -type l | LC_ALL=C sort > $FILES_DISK
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"
done