[GRASS-SVN] r49943 - grass/branches/releasebranch_6_4/gui/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 28 09:00:29 EST 2011
Author: martinl
Date: 2011-12-28 06:00:29 -0800 (Wed, 28 Dec 2011)
New Revision: 49943
Modified:
grass/branches/releasebranch_6_4/gui/scripts/g.extension.py
Log:
g.extension.py: fix download URL on Windows (release/dev)
Modified: grass/branches/releasebranch_6_4/gui/scripts/g.extension.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/scripts/g.extension.py 2011-12-28 13:58:12 UTC (rev 49942)
+++ grass/branches/releasebranch_6_4/gui/scripts/g.extension.py 2011-12-28 14:00:29 UTC (rev 49943)
@@ -424,7 +424,7 @@
version = grass.version()['version'].split('.')
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