summaryrefslogtreecommitdiff
path: root/tools/installer_ng_stable/compile.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/installer_ng_stable/compile.bat')
-rw-r--r--tools/installer_ng_stable/compile.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/installer_ng_stable/compile.bat b/tools/installer_ng_stable/compile.bat
index abbec751a7..453b3f255b 100644
--- a/tools/installer_ng_stable/compile.bat
+++ b/tools/installer_ng_stable/compile.bat
@@ -1,7 +1,9 @@
@echo off
rem Get version
if not exist tmp mkdir tmp
+if exist tmp\build.no goto mkver
Tools\wget.exe -O tmp\build.no http://svn.miranda-ng.org/main/trunk/build/build.no
+:mkver
pushd tmp
for /F "tokens=1,2 delims= " %%i in (build.no) do set ver1=%%i.%%j
for /F "tokens=3 delims= " %%k in (build.no) do (set /a "ver2=%%k-1")