[GRASS-SVN] r59640 - grass/branches/releasebranch_7_0/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 8 09:16:30 PDT 2014
Author: martinl
Date: 2014-04-08 09:16:30 -0700 (Tue, 08 Apr 2014)
New Revision: 59640
Modified:
grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
Log:
g.extension: do not use hardcoded version numbers, fix r59639
Modified: grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py 2014-04-08 15:39:33 UTC (rev 59639)
+++ grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py 2014-04-08 16:16:30 UTC (rev 59640)
@@ -688,9 +688,11 @@
# install extension on MS Windows
def install_extension_win(name):
- ### TODO: do not use hardcoded url - http://wingrass.fsv.cvut.cz/grassXX/addonsX.X.X
+ ### 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/grass70/addons/grass-7.0.0svn/"
+ url = "http://wingrass.fsv.cvut.cz/grass%s%s/addons/grass-%s%s%s/" % \
+ (version[0], version[1], version[0], version[1], version[2])
+
grass.debug("url=%s" % url, 1)
try:
More information about the grass-commit
mailing list