From 9ccd1899dba51e24216d0de8865eecf029f44cef Mon Sep 17 00:00:00 2001 From: letouzey Date: Thu, 21 Apr 2011 16:12:34 +0000 Subject: Win32: remove the need for Coq.bat and Coqide.bat This is an adaptation of commit r13750 of branch 8.3 - coqlib is currently computed relatively of Sys.executable_name, hence no need to set it manually - in Win32, better detection of user home dir : in System.ml, if HOME isn't set, we look now for HOMEDRIVE\HOMEPATH, and then for USERPROFILE - concerning PATH, in Win32 we now add coqbin (or the location of coqide) to PATH during the initialization. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14041 85f007b7-540e-0410-9357-904b9bb8a0f7 --- ide/utils/configwin_messages.ml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ide/utils') diff --git a/ide/utils/configwin_messages.ml b/ide/utils/configwin_messages.ml index f89844627e..de29243182 100644 --- a/ide/utils/configwin_messages.ml +++ b/ide/utils/configwin_messages.ml @@ -30,9 +30,7 @@ let version = "1.2";; let html_config = "Configwin bindings configurator for html parameters" -let home = - try Sys.getenv "HOME" - with Not_found -> "" +let home = Minilib.home let mCapture = "Capture";; let mType_key = "Type key" ;; -- cgit v1.2.3