[osgeo4w-dev] [osgeo4w] #78: msys.bat overrides %HOME%

OSGeo4W trac_osgeo4w at osgeo.org
Mon Apr 6 02:23:46 EDT 2009


#78: msys.bat overrides %HOME%
-------------------+--------------------------------------------------------
Reporter:  maphew  |       Owner:  osgeo4w-dev at lists.osgeo.org
    Type:  defect  |      Status:  new                        
Priority:  major   |   Component:  Package                    
 Version:          |    Keywords:  msys                       
-------------------+--------------------------------------------------------
 `etc/ini/msys.bat` overrides the HOME variable. HOME often doesn't exist
 on Windows machines, it is not a system default, but if a user does define
 one s/he may be perplexed if they don't notice msys change it. The fix, to
 only set home if not defined, is simple:
 {{{
 if not defined HOME set HOME=%USERPROFILE%
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/78>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list