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

GRASS GIS trac at osgeo.org
Sun Sep 26 02:41:34 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):

 the problem is certainly on that line of the script:

 {{{
   make MODULE_TOPDIR="$GISBASE"
 }}}

 but I don't know how to fix it. (maybe g.dirseps or `sed 's/ /\\ /g'` if
 Windows is detected?)


 Hamish

 ps- while harmlessly used a lot in the script, ${curly} brackets do not
 actually protect spaces in file or path names, just variable names from
 following characters which would otherwise continue the variable name, or
 for readability.

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



More information about the grass-dev mailing list