@@ -144,10 +144,32 @@ touch exclude
144
144
145
145
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME% -%VERSION% -%PACKAGE% .tar.bz2 ^
146
146
--exclude-from exclude ^
147
+ --exclude " apps/%PACKAGENAME% /themes/classic/grass" ^
148
+ --exclude " apps/%PACKAGENAME% /themes/default/grass" ^
149
+ --exclude " apps/%PACKAGENAME% /themes/qgis/grass" ^
150
+ --exclude " apps/%PACKAGENAME% /grass" ^
151
+ --exclude " apps/%PACKAGENAME% /bin/qgisgrass.dll" ^
152
+ --exclude " apps/%PACKAGENAME% /plugins/grassrasterprovider.dll" ^
153
+ --exclude " apps/%PACKAGENAME% /plugins/grassplugin.dll" ^
154
+ --exclude " apps/%PACKAGENAME% /plugins/grassprovider.dll" ^
147
155
apps/%PACKAGENAME% ^
148
156
bin/%PACKAGENAME% .bat.tmpl ^
149
157
etc/postinstall/%PACKAGENAME% .bat ^
150
- etc/preremove/%PACKAGENAME% .bat>> %LOG% 2 >& 1
158
+ etc/preremove/%PACKAGENAME% .bat ^
159
+ >> %LOG% 2 >& 1
160
+ if errorlevel 1 goto error
161
+
162
+ tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME% -grass-%VERSION% -%PACKAGE% .tar.bz2 ^
163
+ --exclude-from exclude ^
164
+ " apps/%PACKAGENAME% /themes/classic/grass" ^
165
+ " apps/%PACKAGENAME% /themes/default/grass" ^
166
+ " apps/%PACKAGENAME% /themes/gis/grass" ^
167
+ " apps/%PACKAGENAME% /grass" ^
168
+ " apps/%PACKAGENAME% /bin/qgisgrass.dll" ^
169
+ " apps/%PACKAGENAME% /plugins/grassrasterprovider.dll" ^
170
+ " apps/%PACKAGENAME% /plugins/grassplugin.dll" ^
171
+ " apps/%PACKAGENAME% /plugins/grassprovider.dll" ^
172
+ >> %LOG% 2 >& 1
151
173
if errorlevel 1 goto error
152
174
153
175
goto end
@@ -156,6 +178,7 @@ goto end
156
178
echo BUILD ERROR %ERRORLEVEL% : %DATE% %TIME%
157
179
echo BUILD ERROR %ERRORLEVEL% : %DATE% %TIME% >> %LOG% 2 >& 1
158
180
if exist %PACKAGENAME% -%VERSION% -%PACKAGE% .tar.bz2 del %PACKAGENAME% -%VERSION% -%PACKAGE% .tar.bz2
181
+ if exist %PACKAGENAME% -grass-plugin-%VERSION% -%PACKAGE% .tar.bz2 del %PACKAGENAME% -grass-plugin-%VERSION% -%PACKAGE% .tar.bz2
159
182
160
183
:end
161
184
echo FINISHED: %DATE% %TIME% >> %LOG% 2 >& 1
0 commit comments