aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/minilib.ml
diff options
context:
space:
mode:
authorGravatar pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-05-02 17:11:13 +0000
committerGravatar pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-05-02 17:11:13 +0000
commit2178e3a87ca9216e2584c040a1b15fc7423f4b65 (patch)
tree569c7bf51d7a5c56fc8da15da52a22d192a73e8f /ide/minilib.ml
parent7b1a9e289de1bd792f49ad6ab0ded0b2fdebb972 (diff)
Always add the Coq_config.dirs to xdg_dirs
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15265 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide/minilib.ml')
-rw-r--r--ide/minilib.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/minilib.ml b/ide/minilib.ml
index cec77f3b8..2400872a4 100644
--- a/ide/minilib.ml
+++ b/ide/minilib.ml
@@ -85,7 +85,7 @@ let xdg_config_home =
let xdg_config_dirs =
xdg_config_home :: (try
List.map (fun dir -> Filename.concat dir "coq") (path_to_list (Sys.getenv "XDG_CONFIG_DIRS"))
- with Not_found -> "/etc/xdg/coq"::(match Coq_config.configdir with |None -> [] |Some d -> [d]))
+ with Not_found -> ["/etc/xdg/coq"])@(match Coq_config.configdir with |None -> [] |Some d -> [d])
let xdg_data_home =
try
@@ -97,7 +97,7 @@ let xdg_data_dirs =
xdg_data_home :: (try
List.map (fun dir -> Filename.concat dir "coq") (path_to_list (Sys.getenv "XDG_DATA_DIRS"))
with Not_found ->
- "/usr/local/share/coq"::"/usr/share/coq"::(match Coq_config.datadir with |None -> [] |Some d -> [d]))
+ ["/usr/local/share/coq";"/usr/share/coq"])@(match Coq_config.datadir with |None -> [] |Some d -> [d])
let coqtop_path = ref ""