Subject: | perlcritic shebang created incorrectly |
I used perl-5.10.0 at
/home/jjore/perl5/perlbrew/perls/perlcritic/bin/perl to build
Perl-Critic-1.108 and it created the script
/home/jjore/perl5/perlbrew/perls/perlcritic/bin/perlcritic with the
wrong shebang.
It appears that ./Build looked in $PATH instead of using $^X. Got:
GOT:
#!/rhel5pdi/home/jjore/perl5/perlbrew/perls/padre/bin/perl
eval 'exec /rhel5pdi/home/jjore/perl5/perlbrew/perls/padre/bin/perl
-S $0 ${1+"$@"}'
if 0; # not running under some shell
EXPECTED:
#!/rhel5pdi/home/jjore/perl5/perlbrew/perls/perlcritic/bin/perl
eval 'exec
/rhel5pdi/home/jjore/perl5/perlbrew/perls/perlcritic/bin/perl -S $0
${1+"$@"}'
if 0; # not running under some shell