[pkg-perl-tools] 01/02: Warn about default address only when using mail

Alex Muntada alexm-guest at moszumanska.debian.org
Sun May 22 09:40:39 UTC 2016


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

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit e0fdf5de57ab4a4974bc0095d25907e760dc06a8
Author: Alex Muntada <alexm at alexm.org>
Date:   Sat May 21 19:37:51 2016 +0200

    Warn about default address only when using mail
---
 scripts/forward | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/forward b/scripts/forward
index 909e712..1bb3a77 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -167,7 +167,7 @@ unless ($opt_tracker_url) {
     warn "Falling back to $opt_tracker_url\n";
 }
 
-unless ($opt_mailto) {
+if ( $opt_use_mail and not $opt_mailto ) {
     warn "Bug tracker mail not found in META.\n";
 
     $opt_mailto = 'bug-' . lc($opt_dist) . '@rt.cpan.org';

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list