cvs commit: src/etc rc.subr
Yar Tikhiy
yar at FreeBSD.org
Sun Dec 31 03:07:30 PST 2006
yar 2006-12-31 11:07:29 UTC
FreeBSD src repository
Modified files:
etc rc.subr
Log:
Allow for /usr/bin/env when parsing the shebang line from an
interpreted $command. Some "portable" sofware packages use such a
line to skip the task of figuring out the absolute pathname of the
interpreter at install time, e.g.:
#!/usr/bin/env python
It is insecure, but a popular book on Python seems to have advised
it to a wide audience. Hence a number of such scripts in the ports,
mostly written in Python.
PR: bin/100287
MFC after: 1 week
Revision Changes Path
1.73 +5 -0 src/etc/rc.subr
More information about the cvs-src
mailing list