summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 18:01:53 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 18:01:53 +0000
commit56cc6624162dcb3d32ae20dfde4f89ba1b55ded5 (patch)
tree4b2f19faf12bd1ecd4794da1c7af8fc0c0350485
parent144948988e07f5ab923ba64a7576cbf37aed9175 (diff)
Installer: Optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@5973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat b/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat
index dc97c96507..d694a5d2d0 100644
--- a/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat
+++ b/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat
@@ -4,9 +4,16 @@ set BomRem=http://miranda-ng.org/distr/installer/bom_remove.exe
set BomAdd=http://miranda-ng.org/distr/installer/bom_add.exe
for %%* in (.) do set InnoX=%%~n*
rem Get version
+if exist ..\..\..\build\build.no goto localgetver
..\Tools\wget.exe -O build.no http://svn.miranda-ng.org/main/trunk/build/build.no
%GetVer%
del /F /Q build.no
+goto esclocal
+:localgetver
+pushd ..\..\..\build
+%GetVer%
+popd
+:esclocal
rem end
rem Create Inno setup compatible script that compiles without passing parameters to compiler