[GRASS-SVN] r40065 - grass/trunk/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 19 08:22:36 EST 2009


Author: martinl
Date: 2009-12-19 08:22:36 -0500 (Sat, 19 Dec 2009)
New Revision: 40065

Modified:
   grass/trunk/mswindows/osgeo4w/package.sh
Log:
simplify package.sh
        (merge r40063 from relbr64)


Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh	2009-12-19 13:20:05 UTC (rev 40064)
+++ grass/trunk/mswindows/osgeo4w/package.sh	2009-12-19 13:22:36 UTC (rev 40065)
@@ -1,4 +1,4 @@
-#!/c/Programme/OSGeo4W/apps/msys/bin/sh
+#!/c/OSGeo4W/apps/msys/bin/sh
 
 set -e
 
@@ -7,9 +7,8 @@
 	exit 1
 fi
 
-#portable? can we use %PROGRAMFILES% -> $PROGRAMFILES here?
-OSGEO4W_ROOT_MSYS="/c/Programme/OSGeo4W"
-PATH="/c/mingw/bin:/usr/local/bin:/bin:$OSGEO4W_ROOT_MSYS/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem"
+OSGEO4W_ROOT_MSYS=/c/OSGeo4W
+PATH=.:/c/mingw/bin:/usr/local/bin:/bin:$OSGEO4W_ROOT_MSYS/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem
 export OSGEO4W_ROOT_MSYS PATH
 
 version() {
@@ -66,7 +65,7 @@
 fi
 
 echo $(date): STARTING make
-make -j4 || make -j4
+make || make
 
 echo $(date): STARTING make install
 make install
@@ -90,9 +89,9 @@
    "$OSGEO4W_ROOT_MSYS/etc/postinstall/grass.bat"
 cp mswindows/osgeo4w/preremove.bat \
    "$OSGEO4W_ROOT_MSYS/etc/preremove/grass.bat"
-cp /c/mingw/bin/libgnurx-0.dll "$OSGEO_ROOT_MSYS/bin"
-cp /c/mingw/bin/libiconv-2.dll "$OSGEO_ROOT_MSYS/bin"
-cp /c/mingw/bin/libintl-8.dll "$OSGEO_ROOT_MSYS/bin"
+#cp /c/mingw/bin/libgnurx-0.dll "$OSGEO_ROOT_MSYS/bin"
+#cp /c/mingw/bin/libiconv-2.dll "$OSGEO_ROOT_MSYS/bin"
+#cp /c/mingw/bin/libintl-8.dll "$OSGEO_ROOT_MSYS/bin"
 
 P="$(pwd -W)"
 #portable? how about dist.amd64-pc-mingw32?



More information about the grass-commit mailing list