[GRASS-SVN] r45213 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 26 18:43:56 EST 2011
Author: martinl
Date: 2011-01-26 15:43:56 -0800 (Wed, 26 Jan 2011)
New Revision: 45213
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: replace spaces in topdir
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2011-01-26 23:15:53 UTC (rev 45212)
+++ grass/trunk/scripts/g.extension/g.extension.py 2011-01-26 23:43:56 UTC (rev 45213)
@@ -291,7 +291,7 @@
grass.message(_("Compiling '%s'...") % module)
if grass.call(['make',
- 'MODULE_TOPDIR=%s' % gisbase],
+ 'MODULE_TOPDIR=%s' % gisbase.replace(' ', '\ ')],
stdout = outdev) != 0:
grass.fatal(_('Compilation failed, sorry. Please check above error messages.'))
More information about the grass-commit
mailing list