It really does work. It's pretty nice. I don't know how .grassrc6 handles separators--GRASS specific or OS specific.

Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies, School of Human Evolution & Social Change
Director, Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

On Jun 30, 2009, at 9:31 AM, Hamish wrote:


Michael Barton wrote:
3. Set the GRASS_ADDON_PATH variable in the .grassrc6 file
(or its equivalent in GRASS 7). For example, I could add...

GRASS_ADDON_PATH: /Users/Michael/Desktop;/Users/Michael/Documents

...and any script on my desktop or in my documents folder
would be accessible to g.parser and GRASS. (Note: I'm not
sure if ";" or something else should be the separator
between paths). This is very convenient for having a
permanent folder outside the main GRASS distribution
location where you can put any custom scripts.


does that really work??
it should be an environment variable, not a g.gisenv GRASS variable.


the path separator on UNIXes is ':', the path sep on MS Win is ';'.
but those shouldn't be needed here (unless you want to define
multiple addon dirs).


Hamish






_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to