[GRASS-dev] Re: [GRASS GIS] #854: g.extension does not work on a Mac (probably not on Windows either

GRASS GIS trac at osgeo.org
Sun Jan 3 18:52:44 EST 2010


#854: g.extension does not work on a Mac (probably not on Windows either
---------------------------+------------------------------------------------
  Reporter:  cmbarton      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  7.0.0                    
 Component:  Installation  |     Version:  svn-trunk                
Resolution:                |    Keywords:  extensions, addons       
  Platform:  All           |         Cpu:  OSX/Intel                
---------------------------+------------------------------------------------
Comment (by hamish):

 Replying to [comment:1 kyngchaos]:
 > Replying to [ticket:854 cmbarton]:
 > > g.extension extension=v.strahler svnurl=https://svn.osgeo.org/grass/
 grass-addons/ prefix=/Library/Application\ Support/GRASS/7.0
 menuitem=Vector;Stream order
 >
 > Note: the correct OSX addons dir is /Library/Application
 Support/GRASS/7.0/Modules.


 Hi,

 In 6.5svn I've just checked in an update which quotes all variables and it
 should work better when there are spaces in pathnames now.

 specifically, ${} is not enough to protect against spaces when used as a
 command line argument.

 this makes two directories, a/ and path/
 {{{
 foo="a path"
 mkdir ${foo}

 ls
 rmdir $foo
 }}}



 (I'll merge it to the other branches this evening once I get the chance)


 Hamish

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


More information about the grass-dev mailing list