From 23331f38ecffe44053dd88724ec61e4251413244 Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Wed, 28 Dec 2011 22:20:33 +0100 Subject: [PATCH] enable cpansign to work on a relocated perl --- Makefile.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.4.GIT