Commit caf22ac0 authored by Mark Andrews's avatar Mark Andrews
Browse files

add PRODUCT to version.h; handle empty PATCHVER

(cherry picked from commit b0f3042e)
parent da49a523
......@@ -92,11 +92,16 @@ print OUTVERSIONFILE '
';
if ($Versions{'PATCHVER'} != "") {
$Version = "$Versions{'MAJORVER'}.$Versions{'MINORVER'}.$Versions{'PATCHVER'}";
} else {
$Version = "$Versions{'MAJORVER'}.$Versions{'MINORVER'}";
}
$Version = "$Version$Versions{'RELEASETYPE'}$Versions{'RELEASEVER'}";
print "BIND Version: $Version\n";
print OUTVERSIONFILE "#define VERSION \"$Version\"\n\n";
print OUTVERSIONFILE "#define VERSION \"$Version\"\n";
print OUTVERSIONFILE "#define PRODUCT \"$Versions{'PRODUCT'}\"\n\n";
foreach $dir (@dirlist) {
$apifile = "../lib/$dir/api";
......
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