Просмотр исходного кода

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

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67598 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 лет назад
Родитель
Сommit
ecb377db54
1 измененных файлов с 8 добавлено и 5 удалено
  1. 8 5
      scripts/g.extension/g.extension.py

+ 8 - 5
scripts/g.extension/g.extension.py

@@ -9,6 +9,8 @@
 #               local GRASS installation
 #               local GRASS installation
 # COPYRIGHT:    (C) 2009-2014 by Markus Neteler, and the GRASS Development Team
 # COPYRIGHT:    (C) 2009-2014 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
 #               This program is free software under the GNU General
 #               Public License (>=v2). Read the file COPYING that
 #               Public License (>=v2). Read the file COPYING that
 #               comes with GRASS for details.
 #               comes with GRASS for details.
@@ -704,11 +706,12 @@ def install_extension_win(name):
         platform = build_platform
         platform = build_platform
     else:
     else:
         platform = 'x86'
         platform = 'x86'
-    url = "http://wingrass.fsv.cvut.cz/%(platform)s/" \
-          "grass%(major)s%(minor)s/addons/" \
-          "grass-%(major)s.%(minor)s.%(patch)s/" % \
-        {'platform' : platform, 'major': version[0],
-         'minor': version[1], 'patch': version[2]}
+    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]}
     
     
     grass.debug("url=%s" % url, 1)
     grass.debug("url=%s" % url, 1)