r27868 - /trunk/dh-make-perl/dh-make-perl

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Dec 7 20:12:06 UTC 2008


Author: dmn
Date: Sun Dec  7 20:12:04 2008
New Revision: 27868

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27868
Log:
avoid calling bugs.d.o for ITP when NO_NETWORK is present in the environment

Intented to be used in automated build-time tests

Modified:
    trunk/dh-make-perl/dh-make-perl

Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=27868&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Sun Dec  7 20:12:04 2008
@@ -1536,6 +1536,8 @@
 }
 
 sub get_itp {
+    return if $ENV{NO_NETWORK};
+
     use WWW::Mechanize;
 
     my ($package) = shift @_;




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