diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-06-13 12:51:29 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-06-13 19:53:04 +0000 |
commit | fd017eeae358fbcbb3f51f2765bd31777aa513d1 (patch) | |
tree | baf06f120c72fb0c6911802b9e2db983d0db7d05 /make-version.pl | |
parent | 3b9e39fa0984e8f300bad87a6effaaf631c18caf (diff) | |
download | wireshark-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-x | make-version.pl | 2 |
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)); |