diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-05-11 11:43:01 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-05-11 11:43:01 +0000 |
commit | 1a843cf0c5c538a40a83e48c3af86ac58bc7863c (patch) | |
tree | 3c9a478cc8b52b52b991a098b6fe4342ae6f3bdb /tools | |
parent | 1a925674503aee8b5fe40354f923647736169039 (diff) |
installer scripts fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9160 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/installer_ng_stable/compile.bat | 2 | ||||
-rw-r--r-- | tools/installer_ng_stable/createstructure.bat | 1 |
2 files changed, 2 insertions, 1 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")
diff --git a/tools/installer_ng_stable/createstructure.bat b/tools/installer_ng_stable/createstructure.bat index 5a1fef2ab9..126ff501bb 100644 --- a/tools/installer_ng_stable/createstructure.bat +++ b/tools/installer_ng_stable/createstructure.bat @@ -8,7 +8,6 @@ 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")
set Mirver=%ver1%.%ver2%
-del /F /Q build.no
popd
rem end
|