Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installed scripts are explicitly run by the perl that builds/installs them #15

Open
juster opened this issue May 13, 2010 · 0 comments
Open

Comments

@juster
Copy link
Owner

juster commented May 13, 2010

When I built and installed a new perl-cpanplus-dist-arch-git package it had some interesting behavior. I built it with a perl (5.12) I compiled using perlbrew (available here on github).The cpan2aur script is now prefixed with:

#!/home/juster/perl5/perlbrew/perls/perl-5.12.0/bin/perl5.12.0 

eval 'exec /home/juster/perl5/perlbrew/perls/perl-5.12.0/bin/perl5.12.0  -S $0 $
{1+"$@"}'
    if 0; # not running under some shell

I am assuming that cpanplus is doing this. I'm not sure if this is good or bad! In my case it was really annoying because I had no idea cpanplus was adding these to the front of my scripts... and stuff is breaking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant