[strip-nondeterminism] 01/02: dh_strip_nondeterminism: Use error() from Dh_Lib.pm over manual die().

Chris Lamb chris at chris-lamb.co.uk
Thu Feb 9 09:03:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository strip-nondeterminism.

commit 9609c8a8ea26bc1a74653419023a1815e5bf5c25
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Feb 9 21:50:57 2017 +1300

    dh_strip_nondeterminism: Use error() from Dh_Lib.pm over manual die().
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 bin/dh_strip_nondeterminism | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/dh_strip_nondeterminism b/bin/dh_strip_nondeterminism
index 1fa7830..7e1b632 100755
--- a/bin/dh_strip_nondeterminism
+++ b/bin/dh_strip_nondeterminism
@@ -82,7 +82,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	foreach (@nondeterministic_files) {
 		my ($path, $normalize) = @$_;
 		eval { $normalize->($path); 1 }
-		  or die "dh_strip_nondeterminism: $path: $@";
+		  or error("$path: $@");
 	}
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git



More information about the Reproducible-commits mailing list