aboutsummaryrefslogtreecommitdiffstats
path: root/make-version.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make-version.pl')
-rwxr-xr-xmake-version.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/make-version.pl b/make-version.pl
index aacc846185..5a47943c43 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -198,6 +198,9 @@ sub update_config_nmake
if ($line =~ /^VERSION_EXTRA=/) {
$line = "VERSION_EXTRA=$package_string\n";
}
+ if ($line =~ /^VERSION_BUILD=/ && int($revision) > 0) {
+ $line = "VERSION_BUILD=$revision\n";
+ }
$contents .= $line
}