From 93b294e35733bbd88bcdb316cef1ad3e533db08f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Apr 2009 18:36:00 -0400 Subject: [PATCH] pristine-tar: Avoid dying if tar tv exits nonzero. This makes reproducing star's tarball work, even though tar gets upset while listing it and decides to die at the end. (If the manifest is truncated, the delta just gets bigger..) --- debian/changelog | 3 +++ pristine-tar | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 39c2af1..84859fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,9 @@ pristine-tar (1.00) UNRELEASED; urgency=low is included. * pristine-tar: Avoid dying in corner case involving tar's filename encoding. Fixes several failures. + * pristine-tar: Avoid dying if tar tv exits nonzero. This makes + reproducing star's tarball work, even though tar gets upset + while listing it and decides to die at the end. Stats: Only 1 known failure (on star's tarball). Deltas for all 14294 tarballs in the Debian archive now use XXX MB total. diff --git a/pristine-tar b/pristine-tar index e06e1cf..4e914fb 100755 --- a/pristine-tar +++ b/pristine-tar @@ -407,7 +407,7 @@ sub genmanifest { s/^\.?\/+//; print OUT "$_\n" if length $_; } - close IN || error "tar tf exited nonzero"; + close IN; close OUT; } -- 2.7.4