From owner-cvs-all@FreeBSD.ORG Sun Dec 31 11:07:30 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3834D16A47C; Sun, 31 Dec 2006 11:07:30 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 12D2E13C442; Sun, 31 Dec 2006 11:07:30 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBVB7Txf042344; Sun, 31 Dec 2006 11:07:29 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBVB7TrP042343; Sun, 31 Dec 2006 11:07:29 GMT (envelope-from yar) Message-Id: <200612311107.kBVB7TrP042343@repoman.freebsd.org> From: Yar Tikhiy Date: Sun, 31 Dec 2006 11:07:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc rc.subr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2006 11:07:30 -0000 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