Olaf Hering 2019-11-01 23:46:40 +00:00 committed by Git OBS Bridge
parent 9518374d8a
commit d9dc52be99

17
ocaml-pyml.patch Normal file
View File

@ -0,0 +1,17 @@
--- a/py.ml
+++ b/py.ml
@@ -532,7 +532,13 @@ let find_interpreter interpreter version minor =
| None -> which (Printf.sprintf "python%d" version'))
with
| Some result -> Some result
- | None -> which "python"
+ | None ->
+ match which "python3" with
+ | Some result -> Some result
+ | None ->
+ match which "python2" with
+ | Some result -> Some result
+ | None -> None
let version_mismatch interpreter found expected =
Printf.sprintf