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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 18 08:06:59 PST 2015


Author: martinl
Date: 2015-12-18 08:06:58 -0800 (Fri, 18 Dec 2015)
New Revision: 67223

Modified:
   grass-addons/tools/addons/compile.sh
Log:
addons compilation: fix machine detection on Linux/MS Windows

Modified: grass-addons/tools/addons/compile.sh
===================================================================
--- grass-addons/tools/addons/compile.sh	2015-12-18 15:21:18 UTC (rev 67222)
+++ grass-addons/tools/addons/compile.sh	2015-12-18 16:06:58 UTC (rev 67223)
@@ -24,7 +24,7 @@
     SEP=0
 fi
 
-if [ $ADDON_PATH == *"64"* ] ; then
+if [ `uname -m` = "x86_64" ] ; then
     PLATFORM=x86_64
 else
     PLATFORM=x86



More information about the grass-commit mailing list