|
@@ -1,4 +1,4 @@
|
|
|
-#!/c/Programme/OSGeo4W/apps/msys/bin/sh
|
|
|
+#!/c/OSGeo4W/apps/msys/bin/sh
|
|
|
|
|
|
set -e
|
|
|
|
|
@@ -7,9 +7,8 @@ if ! [ -d mswindows ]; then
|
|
|
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 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
|
|
|
fi
|
|
|
|
|
|
echo $(date): STARTING make
|
|
|
-make -j4 || make -j4
|
|
|
+make || make
|
|
|
|
|
|
echo $(date): STARTING make install
|
|
|
make install
|
|
@@ -90,9 +89,9 @@ cp mswindows/osgeo4w/postinstall.bat \
|
|
|
"$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?
|