[GRASS-dev] Re: [GRASS GIS] #1178: WinGrass: g.extension - problem with path to $GISBASE

GRASS GIS trac at osgeo.org
Fri Oct 1 19:07:33 EDT 2010


#1178: WinGrass: g.extension - problem with path to $GISBASE
---------------------------------------------------------------+------------
 Reporter:  hellik                                             |       Owner:  grass-dev@…              
     Type:  defect                                             |      Status:  new                      
 Priority:  major                                              |   Milestone:  6.4.1                    
Component:  Installation                                       |     Version:  svn-releasebranch64      
 Keywords:  wingrass, g.extension, path, installation, addons  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                                             |  
---------------------------------------------------------------+------------

Comment(by hamish):

 {{{
 FileOpen $0 $INSTALL_DIR\msys\etc\fstab w
 IfErrors done_create_fstab
 FileWrite $0 '$INST_DIR_SHORT   /grass$\r$\n'
 }}}

 IIRC the fstab file was one of the MSys dev's "we don't support spaces in
 path names and won't even accept bugfix patches" fun times. (/etc/fstab is
 whitespace delimited)

 Should we (can we?) rewrite that file each time at program startup to
 reflect the current shortname version of the path?

 no reports of it breaking anything (yet).


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1178#comment:19>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list