]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Update for mkver.bat for Windows from David Taylor.
authorMartin Burnicki <burnicki@ntp.org>
Mon, 9 Mar 2015 09:57:50 +0000 (10:57 +0100)
committerMartin Burnicki <burnicki@ntp.org>
Mon, 9 Mar 2015 09:57:50 +0000 (10:57 +0100)
Account for version numbering scheme introduced after 4.2.x.

bk: 54fd6e9e3ZhF0jIwi7d52n71d3NHTA

ChangeLog
ports/winnt/scripts/mkver.bat

index 5892c73379cb3bcb8d33ce1d509d4a3b27e0d6d5..9abc73d6256180e3baceadd0bd6558c40d181b08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+* [Bug 2752] Update for mkver.bat for Windows from David Taylor.
+  Account for release numbering scheme for 4.3.x and later.
 (4.3.7) 2015/03/07 Released by Harlan Stenn <stenn@ntp.org>
 (4.3.6) 2015/03/06 Released by Harlan Stenn <stenn@ntp.org>
 Below are from 4.2.8p2:
index 7b448299607d6b8450ce006621e1afe9db59728e..4d55d2f0a7a89b12fbdc83f2953ceadb71f66107 100755 (executable)
@@ -20,6 +20,9 @@ see notes/remarks directly below this header:
 #
 #
 # Changes:
+# 02/18/2015   David J Taylor - 4.2.8/4.3.0
+#                              - change to Proto.Minor.Point
+#                              - replace the "p" before the Point with "."
 # 02/23/2011   David J Taylor  - Use reg instead of regedit so "run as
 #                                administrator" is not required.
 # 12/21/2009   Dave Hart
@@ -207,7 +210,7 @@ REM ****************************************************************************
 
        FOR /F "eol=# TOKENS=2 DELIMS==" %%a IN ('findstr  "point=" %%F_POINT_SH%%') DO SET POINT=%%a
        IF "%POINT%"=="NEW" set POINT=
-       IF NOT "%POINT%"=="" set POINT=p%POINT%
+       IF NOT "%POINT%"=="" set POINT=%POINT%
 
        FOR /F "eol=# TOKENS=2 DELIMS==" %%a IN ('findstr  "betapoint=" %%F_PACKAGEINFO_SH%%') DO SET BETAPOINT=%%a
        
@@ -227,7 +230,7 @@ REM ****************************************************************************
        IF "%PR_SUF%"=="-RC" set PR_POINT=%RCPOINT%
        IF "%PR_SUF%"=="-beta" set PR_POINT=%BETAPOINT%
 
-       SET VER=%PROTO%.%MAJOR%.%MINOR%%POINT%%SPECIAL%%PR_SUF%%PR_POINT%
+       SET VER=%PROTO%.%MINOR%.%POINT%%SPECIAL%%PR_SUF%%PR_POINT%
        
        REM Now we have the version info, try to add a BK ChangeSet version number