Skip to content

Commit e1c2bbc

Browse files
author
jef
committed
osgeo4w update
git-svn-id: http://svn.osgeo.org/qgis/trunk@15844 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 02e434c commit e1c2bbc

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

ms-windows/osgeo4w/package-nightly.cmd

+4-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ if errorlevel 1 goto error
135135
echo PACKAGE: %DATE% %TIME%>>%LOG% 2>&1
136136

137137
cd ..
138-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' postinstall.bat >%OSGEO4W_ROOT%\etc\postinstall\%PACKAGENAME%.bat
139-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' preremove.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
140-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' qgis.bat.tmpl >%OSGEO4W_ROOT%\bin\%PACKAGENAME%.bat.tmpl
141-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' qgis.reg.tmpl >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\bin\qgis.reg.tmpl
138+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' postinstall.bat >%OSGEO4W_ROOT%\etc\postinstall\%PACKAGENAME%.bat
139+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' preremove.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
140+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' qgis.bat.tmpl >%OSGEO4W_ROOT%\bin\%PACKAGENAME%.bat.tmpl
141+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' qgis.reg.tmpl >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\bin\qgis.reg.tmpl
142142

143143
REM sed -e 's/%OSGEO4W_ROOT:\=\\\\\\\\%/@osgeo4w@/' %OSGEO4W_ROOT%\apps\%PACKAGENAME%\python\qgis\qgisconfig.py >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\python\qgis\qgisconfig.py.tmpl
144144
REM if errorlevel 1 goto error

ms-windows/osgeo4w/package.cmd

+5-5
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ if errorlevel 1 goto error
135135
echo PACKAGE: %DATE% %TIME%>>%LOG% 2>&1
136136

137137
cd ..
138-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' postinstall.bat >%OSGEO4W_ROOT%\etc\postinstall\%PACKAGENAME%.bat
139-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' preremove.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
140-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' qgis.bat.tmpl >%OSGEO4W_ROOT%\bin\%PACKAGENAME%.bat.tmpl
141-
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' qgis.reg.tmpl >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\bin\qgis.reg.tmpl
138+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' postinstall.bat >%OSGEO4W_ROOT%\etc\postinstall\%PACKAGENAME%.bat
139+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' preremove.bat >%OSGEO4W_ROOT%\etc\preremove\%PACKAGENAME%.bat
140+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' qgis.bat.tmpl >%OSGEO4W_ROOT%\bin\%PACKAGENAME%.bat.tmpl
141+
sed -e 's/@package@/%PACKAGENAME%/g' -e 's/@version@/%VERSION%/g' -e 's/@grassversion@/%GRASS_VERSION%/g' qgis.reg.tmpl >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\bin\qgis.reg.tmpl
142142

143143
REM sed -e 's/%OSGEO4W_ROOT:\=\\\\\\\\%/@osgeo4w@/' %OSGEO4W_ROOT%\apps\%PACKAGENAME%\python\qgis\qgisconfig.py >%OSGEO4W_ROOT%\apps\%PACKAGENAME%\python\qgis\qgisconfig.py.tmpl
144144
REM if errorlevel 1 goto error
@@ -152,7 +152,7 @@ tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
152152
--exclude "*.pyc" ^
153153
--exclude "apps/%PACKAGENAME%/themes/classic/grass" ^
154154
--exclude "apps/%PACKAGENAME%/themes/default/grass" ^
155-
--exclude "apps/%PACKAGENAME%/themes/qgis/grass" ^
155+
--exclude "apps/%PACKAGENAME%/themes/gis/grass" ^
156156
--exclude "apps/%PACKAGENAME%/grass" ^
157157
--exclude "apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
158158
--exclude "apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^

ms-windows/osgeo4w/qgis.bat.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SET OSGEO4W_ROOT=@osgeo4w@
44
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
5-
call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.1\etc\env.bat
5+
call "%OSGEO4W_ROOT%"\apps\grass\grass-@grassversion@\etc\env.bat
66
@echo off
77
SET GDAL_DRIVER_PATH=%OSGEO4W_ROOT%\bin\gdalplugins\1.8
88
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin

0 commit comments

Comments
 (0)