X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git;a=blobdiff_plain;f=lib%2FCPANPLUS%2FDist%2FGentoo.pm;h=2efbffa4608cae3c2be0273e73d916811eae51f1;hp=24e1e357637016eac27c318695904956097673fe;hb=723de1bec25f38799ab96586b1ae447577a9e593;hpb=667d0c86a602a24e6c948443557ebfb9700c83fa diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 24e1e35..2efbffa 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -189,6 +189,7 @@ sub prepare { if ($skip) { $stat->prepared(1); $stat->created(1); + $stat->dist($file); return 1; } } @@ -246,15 +247,18 @@ sub create { unless ($stat->prepared) { error 'Can\'t create ' . $stat->distribution . ' since it was never prepared -- aborting'; $stat->created(0); + $stat->dist(undef); return 0; } if ($stat->created) { msg $stat->distribution . ' was already created -- skipping'; + $stat->dist($stat->eb_file); return 1; } $stat->created(0); + $stat->dist(undef); $self->SUPER::create(@_); @@ -318,6 +322,7 @@ sub create { } $stat->created(1); + $stat->dist($file); return 1; }