summaryrefslogtreecommitdiff
path: root/pristine-gz
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-13 15:19:16 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-13 15:19:16 -0400
commit83fedf120bb12172324b57fb62af1cf9b0544e20 (patch)
treef581be35c8a4fa5b4b55adfa99f68cae92266eb5 /pristine-gz
parentb55aedc538aff2e99cdd4bcab4d9d8eaafda9f75 (diff)
downloadpristine-tar-83fedf120bb12172324b57fb62af1cf9b0544e20.tar.gz
pristine-tar-83fedf120bb12172324b57fb62af1cf9b0544e20.tar.bz2
pristine-tar-83fedf120bb12172324b57fb62af1cf9b0544e20.zip
quell warnigns from xdelta
It will often find there are no simularities and print a warning.
Diffstat (limited to 'pristine-gz')
-rwxr-xr-xpristine-gz2
1 files changed, 1 insertions, 1 deletions
diff --git a/pristine-gz b/pristine-gz
index 10f1b24..cdf118e 100755
--- a/pristine-gz
+++ b/pristine-gz
@@ -287,7 +287,7 @@ sub reproducegz {
else {
# generate a binary delta and see if this is the
# best variant so far
- my $ret=system("xdelta delta -0 --pristine $tempout $orig $tempdir/delta") >> 8;
+ my $ret=system("xdelta delta -0 --pristine $tempout $orig $tempdir/delta 2>/dev/null") >> 8;
# xdelta exits 1 on success
if ($ret == 1) {
my $size=(stat("$tempdir/delta"))[7];