From owner-cvs-src@FreeBSD.ORG Tue May 24 09:14:47 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A98516A41C; Tue, 24 May 2005 09:14:47 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11F5343D1F; Tue, 24 May 2005 09:14:47 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4O9Ekh3043156; Tue, 24 May 2005 09:14:46 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4O9EkrC043155; Tue, 24 May 2005 09:14:46 GMT (envelope-from harti) Message-Id: <200505240914.j4O9EkrC043155@repoman.freebsd.org> From: Hartmut Brandt Date: Tue, 24 May 2005 09:14:46 +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/usr.bin/make job.c job.h main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 09:14:47 -0000 harti 2005-05-24 09:14:46 UTC FreeBSD src repository Modified files: usr.bin/make job.c job.h main.c Log: Before doing any parsing parse the builtin shell specifications and set the current shell to DEFSHELL. Put all these specifications into a list. Add user specified new shells to this list. If the user just selects one of the already know shells just pick the right one off the list. This let's one do something like: # Full specification of the user's shell. This also selects the shell. .SHELL: name=myshell path=/somewhere/foo echo=loud ... FOO != bar # use myshell here .SHELL: name=sh BAR != baz # use /bin/sh here .SHELL: name=myshell # no need for full spec here. # continue to use the user's special shell. Revision Changes Path 1.116 +195 -178 src/usr.bin/make/job.c 1.44 +2 -0 src/usr.bin/make/job.h 1.152 +7 -0 src/usr.bin/make/main.c