[DBIx-Class-Devel] [Perl5/DBIx-Class] Patch dbicadmin support the #! Makefile.PL was invoked with (#130)

Todd Rinaldo notifications at github.com
Wed Nov 28 02:40:18 GMT 2018


I've patched around it so if you have good reasons for it that's fine but I'll re-iterate the argument I made for doing this in another case:

I'll give you a real work example. Let's say you install SQL::Translator to your perl in /usr/local. The assumption is that if I run /usr/local/bin/sqlt-diff, it'll work. However if my $PATH is set to pick perl out of /usr/bin first, then the script will fail because SQL::Translator was not installed to that perl.

So you want ExtUtils::MakeMaker to update the #! of all of the scripts during make install to point to the path of the perl they were installed to. It will not do this unless your #! is /usr/bin/perl in cpan distro.

https://metacpan.org/pod/ExtUtils::MakeMaker#EXE_FILES

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Perl5/DBIx-Class/pull/130#issuecomment-442297568
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20181127/d420c031/attachment.htm>


More information about the DBIx-Class-Devel mailing list