From 339f85db55c08d6cc28ec0076d4e8680813f15fc Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 28 Jan 2008 09:20:33 +0200 Subject: Fix printing of filenames with whitespace in check-files (rhbz#430428) --- scripts/check-files | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/check-files b/scripts/check-files index cc7b94480..b397f1cdb 100755 --- 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 -- cgit v1.2.3