summaryrefslogtreecommitdiff
path: root/make-version.pl
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-06-13 12:51:29 -0700
committerGerald Combs <gerald@wireshark.org>2014-06-13 19:53:04 +0000
commitfd017eeae358fbcbb3f51f2765bd31777aa513d1 (patch)
treebaf06f120c72fb0c6911802b9e2db983d0db7d05 /make-version.pl
parent3b9e39fa0984e8f300bad87a6effaaf631c18caf (diff)
downloadwireshark-fd017eeae358fbcbb3f51f2765bd31777aa513d1.tar.gz
Fix package version stamping.
Change-Id: I1615364071563c4f56b071d7d68e4660dd989296 Reviewed-on: https://code.wireshark.org/review/2198 Reviewed-by: Gerald Combs <gerald@wireshark.org>
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 8499a10c9e..d4a114852f 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));