r27360 - /trunk/dh-make-perl/dh-make-perl

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Nov 27 21:04:24 UTC 2008


Author: dmn
Date: Thu Nov 27 21:04:21 2008
New Revision: 27360

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27360
Log:
avoid use of unitialized variable when seurce URL contains no pat after hostname

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=27360&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Thu Nov 27 21:04:21 2008
@@ -184,6 +184,8 @@
         }
 
         next unless $schema eq 'deb';
+
+        $dir ||= '';    # deb http://there sid main
 
         s{/}{_}g for( $host, $dir, $dist );
 




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