Slightly tweak deployment script.

This commit is contained in:
LoRd_MuldeR 2011-04-22 22:10:55 +02:00
parent 4b404e1b70
commit 1a469e1a99
5 changed files with 12 additions and 14 deletions

View File

@ -3,7 +3,7 @@ set "ISO_DATE="
set "LAMEXP_ERROR=1" set "LAMEXP_ERROR=1"
REM ------------------------------------------ REM ------------------------------------------
if not exist "%~dp0\_date.exe" GOTO:EOF if not exist "%~dp0\_date.exe" GOTO:EOF
set "DATE_TEMP_FILE=%TEMP%\~date.%RANDOM%.tmp" set "DATE_TEMP_FILE=%TEMP%\~date.%RANDOM%%RANDOM%.tmp"
"%~dp0\_date.exe" +%%Y-%%m-%%d > "%DATE_TEMP_FILE%" "%~dp0\_date.exe" +%%Y-%%m-%%d > "%DATE_TEMP_FILE%"
set /p "ISO_DATE=" < "%DATE_TEMP_FILE%" set /p "ISO_DATE=" < "%DATE_TEMP_FILE%"
del "%DATE_TEMP_FILE%" del "%DATE_TEMP_FILE%"

View File

@ -27,7 +27,7 @@ REM ------------------------------------------
REM :: SETUP PATHS :: REM :: SETUP PATHS ::
REM ------------------------------------------ REM ------------------------------------------
set "OUT_PATH=%~dp0\..\..\bin\%LAMEXP_CONFIG%" set "OUT_PATH=%~dp0\..\..\bin\%LAMEXP_CONFIG%"
set "TMP_PATH=%TEMP%\~LameXP.%LAMEXP_CONFIG%.%ISO_DATE%.tmp" set "TMP_PATH=%TEMP%\~LameXP.%LAMEXP_CONFIG%.%ISO_DATE%.%RANDOM%.tmp"
set "OBJ_PATH=%~dp0\..\..\obj\%LAMEXP_CONFIG%" set "OBJ_PATH=%~dp0\..\..\obj\%LAMEXP_CONFIG%"
set "MOC_PATH=%~dp0\..\..\tmp" set "MOC_PATH=%~dp0\..\..\tmp"
set "IPC_PATH=%~dp0\..\..\ipch" set "IPC_PATH=%~dp0\..\..\ipch"

View File

@ -5,8 +5,6 @@ echo Updating Translation files
echo ---------------------------------------------------------------- echo ----------------------------------------------------------------
call "%~dp0\_paths.bat" call "%~dp0\_paths.bat"
if not "%LAMEXP_ERROR%"=="0" GOTO:EOF if not "%LAMEXP_ERROR%"=="0" GOTO:EOF
call "%~dp0\_date.bat"
if not "%LAMEXP_ERROR%"=="0" GOTO:EOF
REM ----------------------------------------------------------------- REM -----------------------------------------------------------------
set "LAMEXP_ERROR=1" set "LAMEXP_ERROR=1"
REM ----------------------------------------------------------------- REM -----------------------------------------------------------------
@ -14,7 +12,7 @@ call "%PATH_MSVC90%\VC\bin\vcvars32.bat" x86
call "%PATH_QTMSVC%\bin\qtenv2.bat" call "%PATH_QTMSVC%\bin\qtenv2.bat"
REM ----------------------------------------------------------------- REM -----------------------------------------------------------------
set "LAMEXP_ERROR=1" set "LAMEXP_ERROR=1"
set "LST_FILE=%TEMP%\~list.%ISO_DATE%.lst" set "LST_FILE=%TEMP%\~list.%RANDOM%%RANDOM%.tmp"
echo %LST_FILE% echo %LST_FILE%
REM ----------------------------------------------------------------- REM -----------------------------------------------------------------
del "%LST_FILE%" 2> NUL del "%LST_FILE%" 2> NUL

View File

@ -38,14 +38,14 @@ REM ------------------------------------------
set "BUILDENV_TXT=" set "BUILDENV_TXT="
REM ------------------------------------------ REM ------------------------------------------
echo === BEGIN PATHS === echo === BEGIN PATHS ===
echo PATH_SEVENZ ="%PATH_SEVENZ%" echo PATH_SEVENZ = "%PATH_SEVENZ%"
echo PATH_MPRESS ="%PATH_MPRESS%" echo PATH_MPRESS = "%PATH_MPRESS%"
echo PATH_UPXBIN ="%PATH_UPXBIN%" echo PATH_UPXBIN = "%PATH_UPXBIN%"
echo PATH_MKNSIS ="%PATH_MKNSIS%" echo PATH_MKNSIS = "%PATH_MKNSIS%"
echo PATH_MSVC90 ="%PATH_MSVC90%" echo PATH_MSVC90 = "%PATH_MSVC90%"
echo PATH_QTMSVC ="%PATH_QTMSVC%" echo PATH_QTMSVC = "%PATH_QTMSVC%"
echo PATH_GNUPG1 ="%PATH_GNUPG1%" echo PATH_GNUPG1 = "%PATH_GNUPG1%"
echo PATH_VCPROJ ="%PATH_VCPROJ%" echo PATH_VCPROJ = "%PATH_VCPROJ%"
echo === END PATHS === echo === END PATHS ===
REM ------------------------------------------ REM ------------------------------------------
set "LAMEXP_ERROR=1" set "LAMEXP_ERROR=1"

View File

@ -30,7 +30,7 @@
#define VER_LAMEXP_MINOR_LO 2 #define VER_LAMEXP_MINOR_LO 2
#define VER_LAMEXP_TYPE Alpha #define VER_LAMEXP_TYPE Alpha
#define VER_LAMEXP_PATCH 6 #define VER_LAMEXP_PATCH 6
#define VER_LAMEXP_BUILD 455 #define VER_LAMEXP_BUILD 457
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Tools versions // Tools versions