Override _fixin_replace_shebang on VMS so MM->fixin works.
authorCraig A. Berry <craigberry@mac.com>
Mon, 24 Jan 2011 00:33:01 +0000 (18:33 -0600)
committerCraig A. Berry <craigberry@mac.com>
Mon, 24 Jan 2011 00:33:01 +0000 (18:33 -0600)
commit5844a3edbd3499c6a146436e1d7ec0648feacb5b
treec881e018ce09b2889df151bbfe5098ce79982a7d
parent613e98e463d92e7eb6bfa6d25de65632ece7d50f
Override _fixin_replace_shebang on VMS so MM->fixin works.

Script generation doesn't look like it's ever worked on VMS, but
this hasn't been that big a deal because all the utilities
distributed with the core have their own generation facilities
under utils/.  However, Nicholas wants to put that directory on
a diet and have the scripts be generated by the modules that own
them.

So we have to get script generation via MM->fixin working, and we
do that here by prepending the same $Config{startperl} incantation
to the shebang line that we've been using in core for eons.

Tracks upstream commit:

https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/14ff930dd862286d6dafe4228b3a72415b5df9a5
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm
cpan/ExtUtils-MakeMaker/t/fixin.t