[GRASS-user] Declaration of GLOBAL variable fail in GRASS7

Marino Vetuschi Zuccolini zucco at dipteris.unige.it
Mon Jan 22 05:04:33 PST 2018


Hello to all,
I’m trying to use well tested shell scripts with grass5/6 packages with a more recent grass7 in Mint distribution (from ppa:ubuntugis/ubuntugis-stable) realising a singular error:

ERROR: Variable ‘LOCATION_NAME’ not set

despite the variable declaration (with "export" keyword in bash) is made INSIDE the script or in the directly in the terminal.
Does anyone has realised this behaviour?

Thanks

m.

*******************************************************
Marino Vetuschi Zuccolini
marino.vetuschizuccolini at unige.it
zucco at dipteris.unige.it
Professor / Geochemist
Laboratory of Geochemistry [LGCH]

DISTAV - Università  di Genova
Tel. ++39 010 3538308 Fax. ++39 010 352169
Corso Europa 26, 16132 - Genova - Italy






More information about the grass-user mailing list