commit 34a616bd9187937106977fd64ded620f2aeb8f45
Author: José Matos <[email protected]>
Date: Fri Aug 16 17:33:14 2024 +0100
Add another option to get python by using the unversioned name
---
src/support/os.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/support/os.cpp b/src/support/os.cpp
index af68fc4a06..9a901cfd02 100644
--- a/src/support/os.cpp
+++ b/src/support/os.cpp
@@ -128,6 +128,10 @@ static string const find_python_binary()
}
}
+ // last chance: try the unversioned name
+ if (command.empty())
+ command = python_call("python");
+
if (!command.empty())
return command;
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs