Keisial <[email protected]> writes:

> SciFi wrote:
>
>> Another point is that all of wget's perl shell procs are hard-coded with
>> #!/usr/bin/perl which again points to Apple's and not the newer one we
>> installed from ActiveState.com.  The version mismatch causes symbols to be
>> missed during make's generation of those doc files.  Yes we know we could
>> override with symlinks (/usr/bin/perl -> /usr/local/bin/perl) but Apple
>> insists to 'repair' such symlinks when we install Apple's own system updates.
>> I hate that; however, there seems to be tons of such hard-coded shellprocs in
>> the wget tree.  ;)  So we try to encourage projects to somehow use the $PERL
>> env-var to invoke the correct version -- I don't know how, I think most
>> shells will not "pre-substitute" this on a #! line (e.g. coding the first
>> line as #!$PERL).
>>
>> I know when we mention such things, it smashes people's toes quite hard.  ;)
>
> I thought the standard solution for that was to use  #!/usr/bin/env perl

Indeed.  I will replace any "#!/usr/bin/perl" with "#!/usr/bin/env perl"


Cheers,
Giuseppe

Reply via email to