File tree 6 files changed +14
-6
lines changed
6 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
5
5
call "%OSGEO4W_ROOT%"\apps\grass\grass-@grassversion@\etc\env.bat
6
6
@echo off
7
7
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\grass-@grassversion@\lib
8
- set QGIS_PREFIX_PATH=@osgeo4w_msys@ /apps/@package@
8
+ set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/% /apps/@package@
9
9
start "Quantum GIS Browser" /B "%OSGEO4W_ROOT%"\@package@-browser.exe %*
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ set SRCDIR=%CD%
47
47
if " %BUILDDIR:~1 ,1 % " == " :" %BUILDDIR:~0 ,2 %
48
48
cd %BUILDDIR%
49
49
50
+ if exist repackage goto package
51
+
50
52
if not exist build.log goto build
51
53
52
54
REM
@@ -140,6 +142,7 @@ echo INSTALL: %DATE% %TIME%>>%LOG% 2>&1
140
142
%DEVENV% qgis%VERSION% .sln /Project INSTALL /Build %BUILDCONF% /Out %LOG% >> %LOG% 2 >& 1
141
143
if errorlevel 1 goto error
142
144
145
+ :package
143
146
echo PACKAGE: %DATE% %TIME% >> %LOG% 2 >& 1
144
147
145
148
cd ..
@@ -156,9 +159,14 @@ REM del %OSGEO4W_ROOT%\apps\%PACKAGENAME%\python\qgis\qgisconfig.py
156
159
157
160
touch exclude
158
161
162
+ move %OSGEO4W_ROOT% \apps\%PACKAGENAME% \bin\qgis.exe %OSGEO4W_ROOT% \bin\%PACKAGENAME% .exe
163
+ move %OSGEO4W_ROOT% \apps\%PACKAGENAME% \bin\qbrowser.exe %OSGEO4W_ROOT% \bin\%PACKAGENAME% -browser.exe
164
+
159
165
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME% -%VERSION% -%PACKAGE% .tar.bz2 ^
160
166
--exclude-from exclude ^
161
167
apps/%PACKAGENAME% ^
168
+ bin/%PACKAGENAME% .exe ^
169
+ bin/%PACKAGENAME% -browser.exe ^
162
170
bin/%PACKAGENAME% .bat.tmpl ^
163
171
bin/%PACKAGENAME% -browser.bat.tmpl ^
164
172
etc/postinstall/%PACKAGENAME% .bat ^
Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-server-%VERSION%-%PACKAGE%.tar.bz2 ^
206
206
>> %LOG% 2 >& 1
207
207
if errorlevel 1 goto error
208
208
209
- move apps\%PACKAGENAME% \bin\qgis.exe bin\%PACKAGENAME% .exe
210
- move apps\%PACKAGENAME% \bin\qbrowser.exe bin\%PACKAGENAME% -browser.exe
209
+ move %OSGEO4W_ROOT% \ apps\%PACKAGENAME% \bin\qgis.exe %OSGEO4W_ROOT% \ bin\%PACKAGENAME% .exe
210
+ move %OSGEO4W_ROOT% \ apps\%PACKAGENAME% \bin\qbrowser.exe %OSGEO4W_ROOT% \ bin\%PACKAGENAME% -browser.exe
211
211
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME% -%VERSION% -%PACKAGE% .tar.bz2 ^
212
212
--exclude-from exclude ^
213
213
--exclude " *.pyc" ^
Original file line number Diff line number Diff line change 1
1
call " %OSGEO4W_ROOT% " \bin\o4w_env.bat
2
2
path %PATH% ;%OSGEO4W_ROOT% \apps\@ package@ \bin
3
- set QGIS_PREFIX_PATH = %OSGEO4W_ROOT% \ apps\ @package@
3
+ set QGIS_PREFIX_PATH = %OSGEO4W_ROOT: \ = / % / apps/ @package@
4
4
%OSGEO4W_ROOT% \apps\@ package@ \crssync
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ set OSGEO4W_ROOT=%O4W_ROOT%
16
16
17
17
call " %OSGEO4W_ROOT% " \bin\o4w_env.bat
18
18
path %PATH% ;%OSGEO4W_ROOT% \apps\@ package@ \bin
19
- set QGIS_PREFIX_PATH = %OSGEO4W_ROOT% \ apps\ @package@
19
+ set QGIS_PREFIX_PATH = %OSGEO4W_ROOT: \ = / % / apps/ @package@
20
20
%OSGEO4W_ROOT% \apps\@ package@ \crssync
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
5
5
call "%OSGEO4W_ROOT%"\apps\grass\grass-@grassversion@\etc\env.bat
6
6
@echo off
7
7
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\grass-@grassversion@\lib
8
- set QGIS_PREFIX_PATH=@osgeo4w_msys@ /apps/@package@
8
+ set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/% /apps/@package@
9
9
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\bin\@package@.exe %*
You can’t perform that action at this time.
0 commit comments