diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/coqdep.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/coqdep.ml b/tools/coqdep.ml index a683aaae9f..bc840d2d9f 100644 --- a/tools/coqdep.ml +++ b/tools/coqdep.ml @@ -200,8 +200,8 @@ let coqdep () = add_rec_dir add_coqlib_known (coqlib//"plugins") ["Coq"]; let user = coqlib//"user-contrib" in if Sys.file_exists user then add_rec_dir add_coqlib_known user []; - let coqpath = Envars.coqpath () in - List.iter (fun s -> add_rec_dir add_coqlib_known s []) coqpath; + List.iter (fun s -> add_rec_dir add_coqlib_known s []) Envars.xdg_dirs; + List.iter (fun s -> add_rec_dir add_coqlib_known s []) Envars.coqpath; end; List.iter (fun (f,d) -> add_mli_known f d) !mliAccu; List.iter (fun (f,d) -> add_mllib_known f d) !mllibAccu; |
