Commit b006d23d authored by Robert Sprowson's avatar Robert Sprowson
Browse files

AwkVers using wrong token from VersionNum.

Should be using Module_ApplicationDate since it's used for messages files for applications.

Version 1.38. Tagged as 'Library-1_38'
parent 0775d1d3
...@@ -15,23 +15,26 @@ ...@@ -15,23 +15,26 @@
# limitations under the License. # limitations under the License.
# #
# Change _Version token in Messages file # Change _Version token in Messages file
# to Module_HelpVersion in VersionNum file # to something like 9.87 (01-Jan-1987) from the VersionNum file
BEGIN { BEGIN {
while (getline < "VersionNum" > 0) { while (getline < "VersionNum" > 0) {
split($0, Version) split($0, Version)
if (Version[2] == "Module_HelpVersion") { if (Version[2] == "Module_FullVersion") {
split($0, VString, "\"") split($0, VString, "\"")
} }
if (Version[2] == "Module_ApplicationDate") {
split($0, VDate, "\"")
}
} }
} }
/^_Version/ { printf("_Version:%s\n", VString[2]); done = 1; next; } /^_Version/ { printf("_Version:%s (%s)\n", VString[2], VDate[2]); done = 1; next; }
{ print } { print }
END { END {
if (!done) { if (!done) {
printf("_Version:%s\n", VString[2]); printf("_Version:%s (%s)\n", VString[2], VDate[2]);
} }
} }
/* (1.37) /* (1.38)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 1.37 #define Module_MajorVersion_CMHG 1.38
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 19 May 2010 #define Module_Date_CMHG 06 Sep 2010
#define Module_MajorVersion "1.37" #define Module_MajorVersion "1.38"
#define Module_Version 137 #define Module_Version 138
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "19 May 2010" #define Module_Date "06 Sep 2010"
#define Module_ApplicationDate "19-May-10" #define Module_ApplicationDate "06-Sep-10"
#define Module_ComponentName "Library" #define Module_ComponentName "Library"
#define Module_ComponentPath "mixed/RiscOS/Library" #define Module_ComponentPath "mixed/RiscOS/Library"
#define Module_FullVersion "1.37" #define Module_FullVersion "1.38"
#define Module_HelpVersion "1.37 (19 May 2010)" #define Module_HelpVersion "1.38 (06 Sep 2010)"
#define Module_LibraryVersionInfo "1:37" #define Module_LibraryVersionInfo "1:38"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment