[GRASS-SVN] r53471 - grass-addons/tools/addons

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 18 09:42:41 PDT 2012


Author: martinl
Date: 2012-10-18 09:42:41 -0700 (Thu, 18 Oct 2012)
New Revision: 53471

Modified:
   grass-addons/tools/addons/build-xml.py
   grass-addons/tools/addons/compile-xml.sh
Log:
fix syntax error in r53470


Modified: grass-addons/tools/addons/build-xml.py
===================================================================
--- grass-addons/tools/addons/build-xml.py	2012-10-18 16:36:35 UTC (rev 53470)
+++ grass-addons/tools/addons/build-xml.py	2012-10-18 16:42:41 UTC (rev 53471)
@@ -16,7 +16,7 @@
     return mlist
 
 def get_gui_list(g7 = True):
-    return os.listdir(os.path.join(ADDON_PATH, 'grass%s' % '7' if g7 else '6',
+    return os.listdir(os.path.join(ADDON_PATH, 'grass%s' % ('7' if g7 else '6'),
                                    'gui', 'wxpython'))
                       
 def start_grass(g7 = True):

Modified: grass-addons/tools/addons/compile-xml.sh
===================================================================
--- grass-addons/tools/addons/compile-xml.sh	2012-10-18 16:36:35 UTC (rev 53470)
+++ grass-addons/tools/addons/compile-xml.sh	2012-10-18 16:42:41 UTC (rev 53471)
@@ -18,8 +18,8 @@
 ### export GISRC=$HOME/grassdata/demolocation/.grassrc70
 
 # compile AddOns for GRASS 7 and GRASS 6.5
-compile ../../grass7 ~/src/grass_trunk/dist.x86_64-unknown-linux-gnu  ~/.grass7/addons
-compile ../../grass6 ~/src/grass6_devel/dist.x86_64-unknown-linux-gnu ~/.grass6/addons
+#compile ../../grass7 ~/src/grass_trunk/dist.x86_64-unknown-linux-gnu  ~/.grass7/addons
+#compile ../../grass6 ~/src/grass6_devel/dist.x86_64-unknown-linux-gnu ~/.grass6/addons
 
 # create XML file for AddOns
 build_xml ~/.grass7/addons 7



More information about the grass-commit mailing list