r23938 - /trunk/dh-make-perl/dh-make-perl

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Aug 8 14:39:20 UTC 2008


Author: gregoa
Date: Fri Aug  8 14:39:18 2008
New Revision: 23938

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23938
Log:
avoid warning about empty $mangle_cprt

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=23938&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Fri Aug  8 14:39:18 2008
@@ -1126,7 +1126,7 @@
 	    );
 
 	# Pre-mangle the copyright information for the common similar cases
-	$mangle_cprt = $copyright;
+	$mangle_cprt = $copyright || ''; # avoid warning
 	$mangle_cprt =~ s/GENERAL PUBLIC LICENSE/GPL/g;
 
 	# Of course, more licenses (i.e. LGPL, BSD-like, Public




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