From 3ce3b3683088a6c6851faf6ee4947aafeb46ad32 Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Fri, 17 Apr 2020 08:40:33 -0700 Subject: [PATCH] Fix bug in getBuildInfo.awk that happens only when building a release version --- Building/Windows/getBuildInfo.awk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Building/Windows/getBuildInfo.awk b/Building/Windows/getBuildInfo.awk index 2f2dece7..63d90c89 100644 --- a/Building/Windows/getBuildInfo.awk +++ b/Building/Windows/getBuildInfo.awk @@ -24,6 +24,9 @@ build = dict[status] print "#define MyBuildNumber \"" (build * 100) "\"" + # strip any trailing quote (only happens for a release build) + sub("\"","",v[3]) + # v[1] already includes a leading quote mark print "#define MyVersionNumbers " v[1] "." v[2] "." v[3] "." (build * 100) "\"" }