[GRASS-SVN] r67203 - grass/branches/releasebranch_7_0/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 17 04:50:37 PST 2015
Author: martinl
Date: 2015-12-17 04:50:37 -0800 (Thu, 17 Dec 2015)
New Revision: 67203
Modified:
grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
Log:
g.extension: fix 32bit issue
(merge r67202 from trunk)
Modified: grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py 2015-12-17 12:48:20 UTC (rev 67202)
+++ grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py 2015-12-17 12:50:37 UTC (rev 67203)
@@ -700,10 +700,14 @@
# http://wingrass.fsv.cvut.cz/platform/grassXX/addonsX.X.X
grass.message(_("Downloading precompiled GRASS Addons <%s>...") %
options['extension'])
+ if build_platform == 'x86_64':
+ platform = build_platform
+ else:
+ platform = 'x86'
url = "http://wingrass.fsv.cvut.cz/%(platform)s/" \
"grass%(major)s%(minor)s/addons/" \
"grass-%(major)s.%(minor)s.%(patch)s/" % \
- {'platform' : build_platform, 'major': version[0],
+ {'platform' : platform, 'major': version[0],
'minor': version[1], 'patch': version[2]}
grass.debug("url=%s" % url, 1)
More information about the grass-commit
mailing list