[GRASS-dev] [GRASS GIS] #1981: export error in osgeo4w/grass.tmpl

GRASS GIS trac at osgeo.org
Mon May 27 17:08:12 PDT 2013

#1981: export error in osgeo4w/grass.tmpl
 Reporter:  hamish       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Packaging    |     Version:  svn-trunk                
 Keywords:  scripting    |    Platform:  MSWindows XP             
      Cpu:  Unspecified  |  

 unless I'm misreading something the "export" in osgeo4w/grass.tmpl is
 called incorrectly. (all branches)

 export $PATH

 the $VARIABLES get exanded before the command is called, so the
 ''contents'' of the $VARIABLES get exported, not the variable names. i.e.
 when using "export" or "unset", don't add the "$".

 also I suspect that in the lines above the enviro variable settings should
 be "quoted". (most will just be C:\osgeo4w so not a big deal, but for
 correctness/safety/future these things should be fixed..)

 ok to change?


Ticket URL: <https://trac.osgeo.org/grass/ticket/1981>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list