Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkasper93 <kasper93@gmail.com>2014-05-03 05:02:33 +0400
committerkasper93 <kasper93@gmail.com>2014-05-12 00:15:20 +0400
commit14ac5ca933e20dc6808f5985aa961b857ccc00a3 (patch)
treee25c2ef54fd7ce07acba7b068dbdf0fa4561248d /build.bat
parent6c88d4f6c0f8c377601329feae25de13019e08a7 (diff)
build.bat: Base nightly status on revision number.
Diffstat (limited to 'build.bat')
-rwxr-xr-xbuild.bat4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.bat b/build.bat
index d84b3e52d..738b0fcca 100755
--- a/build.bat
+++ b/build.bat
@@ -492,9 +492,7 @@ FOR /F "tokens=2,3" %%A IN ('FINDSTR /R /C:"define MPC" "include\version_rev.h"'
SET "%%A=%%B"
)
-FOR /F "tokens=3" %%A IN ('FINDSTR /R /C:"define MPC_NIGHTLY_RELEASE" "include\version.h"') DO (
- SET "MPCHC_NIGHTLY=%%A"
-)
+IF "%MPC_VERSION_REV%" NEQ "0" (SET "MPCHC_NIGHTLY=1") ELSE (SET "MPCHC_NIGHTLY=0")
SET "MPCHC_HASH=%MPCHC_HASH:~4,-2%"
IF DEFINED MPCHC_BRANCH (