From: Vincent Pit Date: Fri, 12 Dec 2008 20:46:44 +0000 (+0100) Subject: Set $stat->prepared properly in prepare() X-Git-Tag: v0.05~23 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=3a050b81e76326ba8f52af389822964486487839;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Set $stat->prepared properly in prepare() --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 62b2e23..be152cf 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -103,6 +103,8 @@ sub prepare { my %opts = @_; + $stat->prepared(0); + my $keywords = delete $opts{'keywords'}; $keywords = 'x86' unless defined $keywords; $keywords = [ split ' ', $keywords ]; @@ -233,6 +235,7 @@ sub prepare { } $stat->deps(\@depends); + $stat->prepared(1); return 1; }