From owner-svn-doc-head@freebsd.org Thu Oct 22 14:50:06 2015 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A04DEA1CEBF; Thu, 22 Oct 2015 14:50:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47E5B14AE; Thu, 22 Oct 2015 14:50:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9MEo5Wq020597; Thu, 22 Oct 2015 14:50:05 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9MEo5NQ020596; Thu, 22 Oct 2015 14:50:05 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201510221450.t9MEo5NQ020596@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 22 Oct 2015 14:50:05 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47639 - head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2015 14:50:06 -0000 Author: mat Date: Thu Oct 22 14:50:05 2015 New Revision: 47639 URL: https://svnweb.freebsd.org/changeset/doc/47639 Log: Enhance the USES=shebangfix section now that the old command is an array and not a single entry. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Thu Oct 22 13:18:05 2015 (r47638) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Thu Oct 22 14:50:05 2015 (r47639) @@ -1147,16 +1147,30 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssa scripts listed in SHEBANG_FILES. Currently Bash, Java, Ksh, + Lua, Perl, PHP, Python, Ruby, Tcl, and Tk are supported by default. To support another interpreter, set - SHEBANG_LANG, lua_OLD_CMD - and lua_CMD. For example - SHEBANG_LANG=lua, then - lua_OLD_CMD=/usr/bin/lua and - lua_CMD=${LOCALBASE}/bin/lua. + SHEBANG_LANG, + foo_OLD_CMD and + foo_CMD. For + example: + + SHEBANG_LANG= lua +lua_OLD_CMD= /usr/bin/lua +lua_CMD= ${LOCALBASE}/bin/lua + + As foo_OLD_CMD + can contain multiple values, if an entry contains a space, it + needs to be quoted. For example, if it was not already defined, + the Ksh entry could be defined + as: + + SHEBANG_LANG= ksh +ksh_OLD_CMD= "/usr/bin/env ksh" /bin/ksh /usr/bin/ksh +ksh_CMD= ${LOCALBASE}/bin/ksh