- add optional env var when calling 7z compress: 7Z_MG_COMPRESS_PARAMS

This commit is contained in:
Mark Vejvoda 2012-10-28 02:34:42 +00:00
parent 00dfe7eb4e
commit 2272f90a40
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ cd /d ..\..\data\glest_game\
echo creating [%PACKAGE%] ...
if exist "%PACKAGE%" del "%PACKAGE%"
7z a -mmt -mx=9 -ms=on -mhc=on "%PACKAGE%" megaglest.exe megaglest_g3dviewer.exe megaglest_editor.exe xerces-c_3_0.dll libvlc.dll libvlccore.dll lua plugins 7z.exe 7z.dll xml2g.exe openal32.dll g2xml.exe glest.ini glestkeys.ini servers.ini
7z a -mmt -mx=9 %7Z_MG_COMPRESS_PARAMS% -ms=on -mhc=on "%PACKAGE%" megaglest.exe megaglest_g3dviewer.exe megaglest_editor.exe xerces-c_3_0.dll libvlc.dll libvlccore.dll lua plugins 7z.exe 7z.dll xml2g.exe openal32.dll g2xml.exe glest.ini glestkeys.ini servers.ini
dir "%PACKAGE%"
cd /d "%~dp0"

View File

@ -74,7 +74,7 @@ if exist release-data%PACKAGE% del release-data%PACKAGE%
cd /d %RELEASEDIR%
rem echo Current directory[%CD%]
..\..\..\..\data\glest_game\7z.exe a -mmt -mx=9 -ms=on -mhc=on ..\%PACKAGE% *
..\..\..\..\data\glest_game\7z.exe a -mmt -mx=9 %7Z_MG_COMPRESS_PARAMS% -ms=on -mhc=on ..\%PACKAGE% *
dir "..\%PACKAGE%"
cd /d "%~dp0"