[dh-make-perl] 01/01: explain why explicit destroy is needed
Tamas Csillag
cstamas-guest at alioth.debian.org
Mon Sep 2 22:40:06 UTC 2013
This is an automated email from the git hooks/post-receive script.
cstamas-guest pushed a commit to branch master
in repository dh-make-perl.
commit 1dcbbbd9d15a53566834a53b1fc000987dc5580d
Author: CSILLAG Tamas <cstamas at cstamas.hu>
Date: Mon Sep 2 23:49:45 2013 +0200
explain why explicit destroy is needed
---
lib/DhMakePerl/Command/make.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index e6b66dd..2b9cda0 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -248,6 +248,8 @@ sub execute {
or $self->modules_already_packaged($apt_contents);
# explicitly call Debian::Rules destroy
+ # this is needed because after the rename the object's
+ # destroy method would update a file on a stale path
$self->rules( undef );
$self->rename_to_debian_package_dir;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list