[Reproducible-commits] [strip-nondeterminism] 04/05: Include name of file that caused error in error messages
Andrew Ayer
agwa at andrewayer.name
Wed Jun 8 04:50:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
agwa-guest pushed a commit to branch mine
in repository strip-nondeterminism.
commit b2ce340a9f6b4d21cdb0b3a6846fcf2c7158d936
Author: Andrew Ayer <agwa at andrewayer.name>
Date: Tue Jul 7 09:35:39 2015 -0700
Include name of file that caused error in error messages
---
bin/dh_strip_nondeterminism | 2 +-
bin/strip-nondeterminism | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/dh_strip_nondeterminism b/bin/dh_strip_nondeterminism
index 6b56aa5..6de910c 100755
--- a/bin/dh_strip_nondeterminism
+++ b/bin/dh_strip_nondeterminism
@@ -78,7 +78,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
foreach (@nondeterministic_files) {
my ($path, $normalize) = @$_;
- $normalize->($path);
+ eval { $normalize->($path); 1 } or die "dh_strip_nondeterminism: $path: $@";
}
}
diff --git a/bin/strip-nondeterminism b/bin/strip-nondeterminism
index c2005fe..329b5a0 100755
--- a/bin/strip-nondeterminism
+++ b/bin/strip-nondeterminism
@@ -68,7 +68,7 @@ for my $filename (@ARGV) {
next unless $normalizer;
}
- $normalizer->($filename);
+ eval { $normalizer->($filename); 1 } or die "strip-nondeterminism: $filename: $@";
}
__END__
--
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