From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: Re: [Xen-staging] [xen-unstable] xend: Allow for non-existent xen-python-path binary. Date: Thu, 08 Nov 2007 09:25:37 -0700 Message-ID: <1194539137.31834.272.camel@bling> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel , Keir Fraser , John Levon List-Id: xen-devel@lists.xenproject.org On Thu, 2007-11-08 at 16:19 +0000, Keir Fraser wrote: > Ah yes, I suppose the non-Solaris path isn't tested... I'm sure you already figured it out, but here's the trivial patch. Thanks, Alex Signed-off-by: Alex Williamson -- diff -r 155a016b8064 tools/misc/xend --- a/tools/misc/xend Thu Nov 08 09:05:26 2007 -0700 +++ b/tools/misc/xend Thu Nov 08 09:23:31 2007 -0700 @@ -33,7 +33,7 @@ import time import time import commands -xpp = os.path.join(os.path.dirname(sys.argv[0], 'xen-python-path')) +xpp = os.path.join(os.path.dirname(sys.argv[0]), 'xen-python-path') if os.path.exists(xpp): result = commands.getstatusoutput(xpp) if result[0] != 0: