[GRASS-SVN] r70127 - grass-addons/tools/wingrass-packager

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 23 06:53:32 PST 2016


Author: martinl
Date: 2016-12-23 06:53:32 -0800 (Fri, 23 Dec 2016)
New Revision: 70127

Modified:
   grass-addons/tools/wingrass-packager/grass_compile.sh
Log:
wingrass: fix packager to include also Windows system paths (missing msvcpXXX.dll)

Modified: grass-addons/tools/wingrass-packager/grass_compile.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_compile.sh	2016-12-23 14:48:55 UTC (rev 70126)
+++ grass-addons/tools/wingrass-packager/grass_compile.sh	2016-12-23 14:53:32 UTC (rev 70127)
@@ -14,7 +14,12 @@
     exit 1
 fi
 PLATFORM=$1
-export PATH=/c/msys${PLATFORM}/usr/bin:/c/msys${PLATFORM}/mingw${PLATFORM}/bin:/c/osgeo4w${PLATFORM}/bin:${PATH}
+PATH=/c/msys${PLATFORM}/usr/bin:/c/msys${PLATFORM}/mingw${PLATFORM}/bin:/c/osgeo4w${PLATFORM}/bin:${PATH}
+if [ "$PLATFORM" == "64" ] ; then
+    export PATH=${PATH}:/c/windows/syswow64
+else
+    export PATH=${PATH}:/c/windows/system32
+fi
 
 function rm_package_7 {
     for f in `find $PACKAGEDIR/grass*.tar.bz2 -mtime +7 2>/dev/null`; do



More information about the grass-commit mailing list