aboutsummaryrefslogtreecommitdiffstats
path: root/make-version.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make-version.pl')
-rwxr-xr-xmake-version.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-version.pl b/make-version.pl
index cda9eff18d..1860be1031 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -351,7 +351,7 @@ sub read_repo_info {
# If we picked up the revision and modification time,
# generate our strings.
- if ($num_commits && $last_change) {
+ if ($version_pref{"pkg_enable"}) {
$version_format =~ s/%#/$num_commits/;
$package_format =~ s/%#/$num_commits-$commit_id/;
$package_string = strftime($package_format, gmtime($last_change));