aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-10-18 13:44:28 +0200
committerEmilio Jesus Gallego Arias2020-09-15 15:56:34 +0200
commit685f43dd6d8470992c3e74b4c14c133e74789796 (patch)
tree031193ca6f089b9e3d01a75ddb1acd602ae4c33e /plugins
parentd6b6e1d6ceadfe65ea398786361ff7737624deaf (diff)
[micromega] call csdpcert using path.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/micromega/coq_micromega.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/micromega/coq_micromega.ml b/plugins/micromega/coq_micromega.ml
index 44bc20e55f..d2c49c4432 100644
--- a/plugins/micromega/coq_micromega.ml
+++ b/plugins/micromega/coq_micromega.ml
@@ -2141,6 +2141,7 @@ let really_call_csdpcert :
List.fold_left Filename.concat (Envars.coqlib ())
["plugins"; "micromega"; "csdpcert" ^ Coq_config.exec_extension]
in
+ let cmdname = if Sys.file_exists cmdname then cmdname else "csdpcert" in
match (command cmdname [|cmdname|] (provername, poly) : csdp_certificate) with
| F str ->
if debug then Printf.fprintf stdout "really_call_csdpcert : %s\n" str;