[virt-tools-list] [libvirt] ANNOUNCE: virt-manager 0.9.3

Jason Helfman jhelfman at e-e.com
Wed Jul 18 18:39:09 UTC 2012


On Wed, Jul 18, 2012 at 02:03:00PM -0400, Cole Robinson thus spake:
>On 07/18/2012 01:37 PM, Jason Helfman wrote:
>> On Wed, Jul 18, 2012 at 11:26:13AM -0600, Eric Blake thus spake:
>>> On 07/18/2012 11:17 AM, Cole Robinson wrote:
>>>> On 07/17/2012 07:39 PM, Jason Helfman wrote:
>>>>> Hi,
>>>>>
>>>>> I noticed in virt-manager, it has an exec on /usr/bin/python. In FreeBSD,
>>>>> this is /usr/local/bin/python. Is there a way I can change this either
>>>>> through a configure flag at build time, or patch a Makefile?
>>>>>
>>>>
>>>> Not at the moment.
>>
>> Oy. Can this be configurable in the next release?
>
>I'll take a patch for the /usr/bin/env change like Eric suggested.
>
>- Cole

Attached is patch for compatibility.

Thanks!
-jgh

-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
-------------- next part --------------
commit bab825e555383f150f5967b22707dc9ea4123cf8
Author: Jason Helfman <jgh at FreeBSD.org>
Date:   Wed Jul 18 11:36:36 2012 -0700

    Revert "Specify /usr/bin/python explicitly"
    
    This reverts commit 5104669795788a1685006761b437e9b296840f89.

diff --git a/src/virt-manager-tui.in b/src/virt-manager-tui.in
index fb3caeb..192cc22 100644
--- a/src/virt-manager-tui.in
+++ b/src/virt-manager-tui.in
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
+exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
diff --git a/src/virt-manager.in b/src/virt-manager.in
index fb3caeb..192cc22 100755
--- a/src/virt-manager.in
+++ b/src/virt-manager.in
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
+exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"


More information about the virt-tools-list mailing list