[GRASS-SVN] r67597 - grass/trunk/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 18 04:22:44 PST 2016


Author: martinl
Date: 2016-01-18 04:22:44 -0800 (Mon, 18 Jan 2016)
New Revision: 67597

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: fix wingrass link, see https://lists.osgeo.org/pipermail/grass-dev/2016-January/078472.html

Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2016-01-18 11:47:51 UTC (rev 67596)
+++ grass/trunk/scripts/g.extension/g.extension.py	2016-01-18 12:22:44 UTC (rev 67597)
@@ -8,7 +8,7 @@
 #               Vaclav Petras <wenzeslaus gmail com> (support for general sources)
 # PURPOSE:      Tool to download and install extensions into local installation
 #
-# COPYRIGHT:    (C) 2009-2015 by Markus Neteler, and the GRASS Development Team
+# COPYRIGHT:    (C) 2009-2016 by Markus Neteler, and the GRASS Development Team
 #
 #               This program is free software under the GNU General
 #               Public License (>=v2). Read the file COPYING that
@@ -888,11 +888,12 @@
         platform = build_platform
     else:
         platform = 'x86'
-    base_url = "http://wingrass.fsv.cvut.cz/%(platform)s/" \
-               "grass%(major)s%(minor)s/addons/" \
+    base_url = "http://wingrass.fsv.cvut.cz/" \
+               "grass%(major)s%(minor)s/%(platform)s/addons/" \
                "grass-%(major)s.%(minor)s.%(patch)s" % \
-               {'platform' : platform, 'major': version[0],
-                'minor': version[1], 'patch': version[2]}
+               {'platform' : platform,
+                'major': version[0], 'minor': version[1],
+                'patch': version[2]}
 
     # resolve ZIP URL
     source, url = resolve_source_code(url='{}/{}.zip'.format(base_url, name))



More information about the grass-commit mailing list