From: Keir Fraser Subject: Re: [PATCH 11/11] build: Don't assume that mkbuildtree is executable Date: Tue, 11 Apr 2006 09:26:29 +0100 Message-ID: <006d95f04460cc89da1845d12d8a16f7@cl.cam.ac.uk> References: <20060410022914.15477.13677.sendpatchset@tabatha.lab.ultramonkey.org> <20060410023009.15477.66080.sendpatchset@tabatha.lab.ultramonkey.org> <20060411012324.GA5979@verge.net.au> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060411012324.GA5979@verge.net.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Horms Cc: Magnus Damm , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11 Apr 2006, at 02:23, Horms wrote: >>> I couldn't decide btween chmoding mkbuildtree, which changes >>> the tree, and running sh mkbuildtree, which assumes its a shell >>> script. I settled on the latter. >> >> The scripts need bash and sh may not be bash? > > Would you like me to look through the scripts for bashisms, > and perhaps change sh to bash, or just go with the chmod u+x approach? I think all the scripts currently specify /bin/bash. You could define SHELL or SH in Config.mk, default to /bin/bash, and use that variable in place of 'sh'. -- Keir