[strip-nondeterminism] 01/01: Only print log messages by default if the file was actually modified. (Closes: #863033)

Chris Lamb chris at chris-lamb.co.uk
Sat May 20 13:07:50 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 fef1708d76a6820963ddc8d9f96c5640863f9cfe
Author: Chris Lamb <lamby at debian.org>
Date:   Sat May 20 15:06:21 2017 +0200

    Only print log messages by default if the file was actually modified. (Closes: #863033)
---
 bin/dh_strip_nondeterminism | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/dh_strip_nondeterminism b/bin/dh_strip_nondeterminism
index e1dbbf3..c8bb662 100755
--- a/bin/dh_strip_nondeterminism
+++ b/bin/dh_strip_nondeterminism
@@ -83,8 +83,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
 	foreach (@nondeterministic_files) {
 		my ($path, $normalize) = @$_;
-		nonquiet_print("Normalizing $path");
-		eval { $normalize->($path); 1 }
+		verbose_print("Normalizing $path");
+		eval { $normalize->($path) or nonquiet_print("Normalized $path"); 1; }
 		  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