[camlp4] Fix the "no compiler available" bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
0b1510bcf8
commit
349b5dcb43
|
@ -57,7 +57,7 @@ let camlp4boot_may_debug mods =
|
|||
let rec best =
|
||||
function
|
||||
| (f, x) :: xs -> if Sys.file_exists f then x else best xs
|
||||
| [] -> failwith "no compiler available"
|
||||
| [] -> "echo no compiler available && false"
|
||||
|
||||
let ocamlc =
|
||||
best ["../ocamlc.opt", "../ocamlc.opt";
|
||||
|
|
Loading…
Reference in New Issue