From a77f65fac3bf21b69e4f4b4682754c3f7a95efc0 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Sat, 8 Oct 2011 20:12:28 +0200 Subject: [PATCH] Do not pack the EXE file when the deployment script is run in "skip build this time" mode. --- etc/Deployment/_deploy.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/Deployment/_deploy.bat b/etc/Deployment/_deploy.bat index cca3c441..bab3c9e5 100644 --- a/etc/Deployment/_deploy.bat +++ b/etc/Deployment/_deploy.bat @@ -108,6 +108,10 @@ if "%LAMEXP_REDIST%"=="1" ( copy "%QTDIR%\plugins\imageformats\q???4.dll" "%TMP_PATH%\imageformats" ) REM ------------------------------------------ +if "%LAMEXP_SKIP_BUILD%"=="YES" ( + goto SkipPackingThisTime +) +REM ------------------------------------------ for %%f in ("%TMP_PATH%\*.exe") do ( "%PATH_UPXBIN%\upx.exe" --best "%%f" ) @@ -115,6 +119,8 @@ for %%f in ("%TMP_PATH%\*.dll") do ( "%PATH_UPXBIN%\upx.exe" --best "%%f" ) REM ------------------------------------------ +:SkipPackingThisTime +REM ------------------------------------------ if exist "%~dp0\_postproc.bat" ( call "%~dp0\_postproc.bat" "%TMP_PATH%" ) -- 2.11.4.GIT