From: Vincent Pit Date: Sat, 29 Nov 2008 16:37:26 +0000 (+0100) Subject: Store the overlay into the status X-Git-Tag: v0.03~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=f722064b6599dbed7fe5a6f4a3a7a935dd3f16c0;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Store the overlay into the status --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index d7c1a7f..26703a4 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -68,8 +68,8 @@ sub init { my $conf = $self->parent->parent->configure_object; $stat->mk_accessors(qw/name version dist desc uri src license deps - eb_name eb_version eb_dir eb_file distdir fetched_arch - keywords do_manifest + eb_name eb_version eb_dir eb_file fetched_arch + overlay distdir keywords do_manifest verbose/); $stat->verbose($conf->get_conf('verbose')); @@ -108,6 +108,7 @@ sub prepare { my $overlay = catdir(delete($opts{'overlay'}) || '/usr/local/portage', CATEGORY); + $stat->overlay($overlay); $stat->distdir(delete($opts{'distdir'}) || '/usr/portage/distfiles'); if ($stat->do_manifest && !-w $stat->distdir) {