Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't rebuild library on repeated M::B::dispatch

  • Loading branch information...
commit d8918a118da1a8161ede4b577d8c63a96f4077a6 1 parent 30b4a39
@jberger jberger authored
Showing with 8 additions and 1 deletion.
  1. +4 −0 Changes
  2. +4 −1 lib/Alien/Base/ModuleBuild.pm
View
4 Changes
@@ -1,5 +1,9 @@
Revision history for Perl module Alien::Base.
+0.000_007
+ - Don't rebuild library on repeated M::B::dispatch
+ - More bugfixes
+
0.000_006 Apr 3, 2012
- Yet anther bugfix(?) release
View
5 lib/Alien/Base/ModuleBuild.pm
@@ -209,7 +209,7 @@ sub alien_init_temp_dir {
sub ACTION_code {
my $self = shift;
- $self->depends_on('alien');
+ $self->depends_on('alien') unless $self->notes('ACTION_alien_completed');
$self->SUPER::ACTION_code;
}
@@ -286,6 +286,9 @@ sub ACTION_alien {
}
$self->config_data( version => $pc_version || $version );
+
+ # prevent building multiple times (on M::B::dispatch)
+ $self->notes( 'ACTION_alien_completed' => 1 );
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.