]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/commitdiff
Set $stat->prepared properly in prepare()
authorVincent Pit <vince@profvince.com>
Fri, 12 Dec 2008 20:46:44 +0000 (21:46 +0100)
committerVincent Pit <vince@profvince.com>
Fri, 12 Dec 2008 20:46:44 +0000 (21:46 +0100)
lib/CPANPLUS/Dist/Gentoo.pm

index 62b2e23d105ab0f9058caa7e4daf9a4f9aee5548..be152cf2fc8c883c2d2a9394e73038b96b50f8d6 100644 (file)
@@ -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;
 }