From 1c535a5a1e6f4dcc35bd67a99a7236c6e7a222ab Mon Sep 17 00:00:00 2001 From: pboutill Date: Sun, 20 Nov 2011 20:02:54 +0000 Subject: Add support for XDG_DATA_HOME and XDG_DATA_DIRS. From Tom Prince git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14692 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tools/coqdep.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/coqdep.ml b/tools/coqdep.ml index a683aaae9..bc840d2d9 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; -- cgit v1.2.3