[GRASS-dev] Re: [GRASS GIS] #1501: g.extension fails when addons directory doesn't exists

GRASS GIS trac at osgeo.org
Thu Dec 1 01:22:07 EST 2011


#1501: g.extension fails when addons directory doesn't exists
-------------------------+--------------------------------------------------
 Reporter:  martinl      |       Owner:  hamish          
     Type:  defect       |      Status:  assigned        
 Priority:  major        |   Milestone:  6.5.0           
Component:  Default      |     Version:  svn-develbranch6
 Keywords:  g.extension  |    Platform:  Unspecified     
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hamish):

 Hi,

 fixed in r49451,2.
 fwiw i.points.auto is an awkward test for it as it doesn't use the
 standard parser. (one of a number of i.points improvements to be back-
 ported; i.points.auto is based on a 2004 copy of i.points)


 with an empty (or non-existent) addons dir could you try editing line 412
 of grass 6.5's g.extension to be `[ 0 -eq 1 ]` and installing a few addon
 modules? After seeing it I hope you agree it is a much cleaner way to
 organize things. If there is a technical reason not to clean that up I'd
 still like to hear what it is, as I know of none.


 thanks,
 Hamish

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



More information about the grass-dev mailing list