[GRASS-SVN] r38400 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 13 13:04:09 EDT 2009
Author: martinl
Date: 2009-07-13 13:04:09 -0400 (Mon, 13 Jul 2009)
New Revision: 38400
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
ckeck GISBASE
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2009-07-13 17:01:16 UTC (rev 38399)
+++ grass/trunk/scripts/g.extension/g.extension.py 2009-07-13 17:04:09 UTC (rev 38400)
@@ -129,7 +129,7 @@
grass.try_rmdir(tmpdir)
def install_extension(svnurl, prefix, module):
- gisbase = os.environ['GISBASE']
+ gisbase = os.getenv('GISBASE')
if not gisbase:
grass.fatal('$GISBASE not defined')
More information about the grass-commit
mailing list