cpansigning got complicated?0.2.0
authorAndreas J. Koenig <andk@cpan.org>
Tue, 17 May 2011 07:00:43 +0000 (17 09:00 +0200)
committerAndreas J. Koenig <andk@cpan.org>
Tue, 17 May 2011 07:00:43 +0000 (17 09:00 +0200)
Makefile.PL

index 1e481a6..261f192 100644 (file)
@@ -125,6 +125,12 @@ if ($version_diff){
 }
 
 package MY;
+sub distsignature {
+    my($self) = shift;
+    my $ret = $self->SUPER::distsignature_target(@_);
+    $ret =~ s|cpansign|\`dirname \$(PERL)\`/cpansign|g;
+    return $ret;
+}
 sub postamble {
   my @m;
   push @m, q{