Another problem (in addition to what Moritz found) - it's currently GRASS_ADDON_ETC, not GRASS_ETC_PATH. (and could change if we decide on a GRASS_XTN_PATH base path instead of multiple GRASS_ADDON_* vars)

And, for the cases where people do install addons in the GRASS installation, you might want to check for xtnmenu.dat in GISBASE.

Lastly, how about inserting a separator between xtnmenu.dat's, when there are multiple ones found? Sortof a visual cue that they are from different places.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy


_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to