[GRASS-SVN] r50061 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 4 10:06:53 EST 2012
Author: martinl
Date: 2012-01-04 07:06:52 -0800 (Wed, 04 Jan 2012)
New Revision: 50061
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: fix URL for WinGRASS (release/dev)
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2012-01-04 13:26:48 UTC (rev 50060)
+++ grass/trunk/scripts/g.extension/g.extension.py 2012-01-04 15:06:52 UTC (rev 50061)
@@ -647,7 +647,7 @@
### TODO: do not use hardcoded url - http://wingrass.fsv.cvut.cz/grassXX/addonsX.X.X
grass.message(_("Downloading precompiled GRASS Addons <%s>...") % options['extension'])
url = "http://wingrass.fsv.cvut.cz/grass%s%s/addons" % (version[0], version[1])
- if version[2][1:] != 'svn':
+ if version[2][-3:] != 'svn':
url += '%s.%s.%s' % (version[0], version[1], version[2])
grass.debug("url=%s" % url, 1)
More information about the grass-commit
mailing list