WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Xen-staging] [xen-unstable] xend: Allow for non-exi

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-staging] [xen-unstable] xend: Allow for non-existent xen-python-path binary.
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Thu, 08 Nov 2007 09:25:37 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, John Levon <john.levon@xxxxxxx>
Delivery-date: Thu, 08 Nov 2007 08:26:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C358E7AE.181F8%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <C358E7AE.181F8%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <alex.williamson@xxxxxx>
--

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:



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel