]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/commitdiff
Store the overlay into the status
authorVincent Pit <vince@profvince.com>
Sat, 29 Nov 2008 16:37:26 +0000 (17:37 +0100)
committerVincent Pit <vince@profvince.com>
Sat, 29 Nov 2008 16:37:26 +0000 (17:37 +0100)
lib/CPANPLUS/Dist/Gentoo.pm

index d7c1a7ff9924d733d680e8612dec7453456ed49f..26703a4cce0d14718d4f1d972fd410c8dc75734c 100644 (file)
@@ -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) {