The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit f6ca8350cde26c90391e29fad16437f7b3287092
Author: Enrico Forestieri <[email protected]>
Date:   Sun Apr 14 13:43:53 2013 +0200

    Fix bug #8631: Python detection unfinished

diff --git a/src/support/ForkedCalls.cpp b/src/support/ForkedCalls.cpp
index 0378b05..d77248e 100644
--- a/src/support/ForkedCalls.cpp
+++ b/src/support/ForkedCalls.cpp
@@ -303,7 +303,10 @@ int ForkedCall::generateChild()
        if (command_.empty())
                return 1;
 
-       string const line = cmd_prefix_ + command_;
+       // Make sure that a V2 python is run, if available.
+       string const line = cmd_prefix_ +
+               (prefixIs(command_, "python -tt")
+                ? os::python() + command_.substr(10) : command_);
 
 #if !defined (_WIN32)
        // POSIX

-----------------------------------------------------------------------

Summary of changes:
 src/support/ForkedCalls.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to