From: Andreas J. Koenig Date: Wed, 28 Dec 2011 21:20:33 +0000 (+0100) Subject: enable cpansign to work on a relocated perl X-Git-Tag: 0.3.2~2 X-Git-Url: https://repo.or.cz/w/rersyncrecent.git/commitdiff_plain/23331f38ecffe44053dd88724ec61e4251413244 enable cpansign to work on a relocated perl --- diff --git a/Makefile.PL b/Makefile.PL index 261f192..eea7a3a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -128,7 +128,7 @@ package MY; sub distsignature { my($self) = shift; my $ret = $self->SUPER::distsignature_target(@_); - $ret =~ s|cpansign|\`dirname \$(PERL)\`/cpansign|g; + $ret =~ s|cpansign|\$(PERL) \`dirname \$(PERL)\`/cpansign|g; return $ret; } sub postamble { @@ -165,7 +165,7 @@ tag :: git tag -m 'This is $(VERSION)' "$(VERSION)" sign: - `dirname $(PERL)`/cpansign -s + $(PERL) `dirname $(PERL)`/cpansign -s test-server-run: $(PERL) bin/rrr-init --force t/testserver