diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-28 09:20:33 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-28 09:20:33 +0200 |
commit | 339f85db55c08d6cc28ec0076d4e8680813f15fc (patch) | |
tree | 0c86aacf57b5a8557fcb069dae4815b951496fd5 /scripts | |
parent | f2c6bef540faf4ba9b7a15b284a5d64f9c8b00fa (diff) | |
download | librpm-tizen-339f85db55c08d6cc28ec0076d4e8680813f15fc.tar.gz librpm-tizen-339f85db55c08d6cc28ec0076d4e8680813f15fc.tar.bz2 librpm-tizen-339f85db55c08d6cc28ec0076d4e8680813f15fc.zip |
Fix printing of filenames with whitespace in check-files (rhbz#430428)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-files | 3 |
1 files changed, 2 insertions, 1 deletions
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 |