r17163 - /trunk/dh-make-perl/dh-make-perl
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Mar 10 19:21:25 UTC 2008
Author: dmn
Date: Mon Mar 10 19:21:24 2008
New Revision: 17163
URL: http://svn.debian.org/wsvn/?sc=1&rev=17163
Log:
Print "Found examples: @examples" only if @examples is not empty
Modified:
trunk/dh-make-perl/dh-make-perl
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/trunk/dh-make-perl/dh-make-perl?rev=17163&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Mon Mar 10 19:21:24 2008
@@ -199,7 +199,7 @@
print "Using maintainer: $maintainer\n";
print "Found changelog: $changelog\n" if defined $changelog;
print "Found docs: @docs\n";
-print "Found examples: @examples\n";
+print "Found examples: @examples\n" if @examples;
-d $debiandir && die "The directory $debiandir is already present and I won't overwrite it: remove it yourself.\n";
# start writing out the data
mkdir ($debiandir, 0755) || die "Cannot create $debiandir dir: $!\n";
More information about the Pkg-perl-cvs-commits
mailing list