[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.74-1-31-ge6011d5

gregor herrmann gregoa at debian.org
Thu Dec 8 00:12:57 UTC 2011


The following commit has been merged in the master branch:
commit 80d35e8b2091d5077add48eeafe2b146c13e734d
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Dec 8 00:52:30 2011 +0100

    DhMakePerl/Command/make.pm: setup_dir(): change back to original directory
    after CPAN.pm changes it; thanks to Dima Kogan (cf. RT#71708).

diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 622305a..8af2da5 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -278,6 +278,7 @@ sub setup_dir {
         }
 
         $dist->get || die "Cannot get ", $dist->pretty_id, "\n"; # <- here $ENV{'PWD'} gets set to $HOME/.cpan/build
+        chdir $orig_pwd;                                         # so set it back
         $dist->pretty_id =~ /^(.)(.)/;
         $tarball = $CPAN::Config->{'keep_source_where'} . "/authors/id/$1/$1$2/";
         # the file is under authors/id/A/AU/AUTHOR directory

-- 
Debian packaging of dh-make-perl



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