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

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-02-12 19:16:15 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-02-13 13:11:53 +0300
commit7cfabbc9e551887f473b789558b2c3adfb804a22 (patch)
treefc6568cae02147172df693153c5b0521cad0eab1 /common
parent3ea70687fc7a3096319a7cdbf9db3d652bcfdff2 (diff)
Fix genversion script on release builds (ie. commit 0)0.64
Diffstat (limited to 'common')
-rw-r--r--common/genversion.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/genversion.bat b/common/genversion.bat
index 3e7660d6..f46b30a0 100644
--- a/common/genversion.bat
+++ b/common/genversion.bat
@@ -37,7 +37,8 @@ IF EXIST includes\version_rev.h (
)
SET NEWVER=#define LAV_VERSION_BUILD %nbCOMMIT_PART%
IF NOT "%NEWVER%" == "%OLDVER%" (
- ECHO %NEWVER%> includes\version_rev.h
+ :: swapped order to avoid trailing newlines
+ > includes\version_rev.h ECHO %NEWVER%
)
GOTO :END