[GRASS-SVN] r49580 - grass-addons/tools/wingrass-packager
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 6 18:46:11 EST 2011
Author: martinl
Date: 2011-12-06 15:46:11 -0800 (Tue, 06 Dec 2011)
New Revision: 49580
Modified:
grass-addons/tools/wingrass-packager/grass_addons.sh
Log:
wingrass-addons: fix compilation (manifest, bat)
Modified: grass-addons/tools/wingrass-packager/grass_addons.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_addons.sh 2011-12-06 22:45:34 UTC (rev 49579)
+++ grass-addons/tools/wingrass-packager/grass_addons.sh 2011-12-06 23:46:11 UTC (rev 49580)
@@ -10,7 +10,7 @@
function compile {
path=`echo $PATH`
- export PATH=$PATH:/c/OSGeo4W/apps/msys/bin:$2/bin:$2/scripts
+ export PATH=$PATH:/c/OSGeo4W/apps/msys/bin:$2/dist.i686-pc-mingw32/bin:$2/dist.i686-pc-mingw32/scripts
rm -rf $3
$SVN_PATH/tools/addons/compile.sh $1 $2 $3 1
cd $3
@@ -30,13 +30,8 @@
export PATH=$PATH:/c/OSGeo4W/apps/msys/bin:/c/OSGeo4W/bin
-# ugly hack for GRASS 6
-mkdir -p $GISBASE_PREFIX/grass6_devel/dist.i686-pc-mingw32/lib/gis/OBJ.i686-pc-mingw32/
-cp $GISBASE_PREFIX/grass6_devel/lib/gis/OBJ.i686-pc-mingw32/fmode.o \
- $GISBASE_PREFIX/grass6_devel/dist.i686-pc-mingw32/lib/gis/OBJ.i686-pc-mingw32
+compile $SVN_PATH/grass6 $GISBASE_PREFIX/grass6_devel $ADDON_PREFIX/grass65/addons
-compile $SVN_PATH/grass6 $GISBASE_PREFIX/grass6_devel/dist.i686-pc-mingw32 $ADDON_PREFIX/grass65/addons
+compile $SVN_PATH/grass7 $GISBASE_PREFIX/grass_trunk $ADDON_PREFIX/grass70/addons
-compile $SVN_PATH/grass7 $GISBASE_PREFIX/grass_trunk/dist.i686-pc-mingw32 $ADDON_PREFIX/grass70/addons
-
exit 0
More information about the grass-commit
mailing list