[GRASS-dev] [GRASS GIS] #3462: Allow setting environment variables in grass startup script

GRASS GIS trac at osgeo.org
Mon Dec 18 08:07:23 PST 2017


#3462: Allow setting environment variables in grass startup script
--------------------------+-------------------------
  Reporter:  mankoff      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  major        |  Milestone:
 Component:  Default      |    Version:  7.2.2
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------

Comment (by mankoff):

 I'm not clear how the comment in `grass.py` pointing to this ticket helps.
 Certain critical environment variables that are **required** for GRASS to
 work correctly cannot be set in either `~/.grass.bashrc` or
 `~/.grass7/bashrc`, as long as the line ignoring `export` statements
 remains. Why can't I `export` variables from these scripts?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3462#comment:8>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list