svn commit: r399684 - in head: Mk/Uses astro/weather audio/lollypop audio/mma audio/pulseaudio audio/py-tagpy audio/ripit audio/sphinx chinese/pyzy chinese/ydict databases/luadbi databases/nagios-c...

Mathieu Arnold mat at FreeBSD.org
Mon Oct 19 22:30:32 UTC 2015


+--On 19 octobre 2015 14:30:02 -0700 Eitan Adler <lists at eitanadler.com>
wrote:
| On 19 October 2015 at 07:50, Dmitry Marakasov <amdmi3 at freebsd.org> wrote:
|> Author: amdmi3
|> Date: Mon Oct 19 14:50:52 2015
|> New Revision: 399684
|> URL: https://svnweb.freebsd.org/changeset/ports/399684
|> 
|> Log:
|>   Improve shebangfix framework
| 
| ...
| 
|>  - Add more default values, such as "/usr/bin/env foo" for python, perl,
|>  bash, ruby and lua
| 
| This seems like unexpected behavior.  /usr/bin/env foo will call foo
| depending PATH which is almost certainly what the author intended.
| Fixing absolute references from /usr/bin/foo to another absolute path
| or to being called via env makes sense.

Many apps are started in rc.d where PATH doesn't include LOCALBASE/bin,
like, say, apache, changing them to point to the right binary is better,
saving an exec of /usr/bin/env in the process.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151020/d48e6087/attachment.bin>


More information about the svn-ports-all mailing list