From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] tools: python portability fixes Date: Tue, 4 Aug 2009 15:40:01 +0200 Message-ID: <200908041540.01927.Christoph.Egger@amd.com> References: <200907231558.12957.Christoph.Egger@amd.com> <200908041433.13561.Christoph.Egger@amd.com> <19064.12706.140851.702847@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19064.12706.140851.702847@mariner.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tuesday 04 August 2009 15:03:30 Ian Jackson wrote: > Christoph Egger writes ("Re: [PATCH] tools: python portability fixes"): > > You don't type /bin/hg or /bin/git but you type #!/bin/bash in scripts > > and that is where it fails. > > If you actually look at the script you're complaining about, it starts > with > #! /usr/bin/env bash > which should work just fine. Right ? Yes, given that bash is installed. The non-portable part in this line is the path to env. In Solaris, env is in /bin. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632