diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-06-13 12:51:29 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-06-13 20:20:57 +0000 |
commit | a6993d380657ae1bcca146673773e0fc82764747 (patch) | |
tree | f2c9acfa870f2041bc5a993148a2659eb1c81e7c /make-version.pl | |
parent | 4dfbb792c88abf30fa8a096e6b0144b06667e89b (diff) | |
download | wireshark-a6993d380657ae1bcca146673773e0fc82764747.tar.gz wireshark-a6993d380657ae1bcca146673773e0fc82764747.tar.bz2 wireshark-a6993d380657ae1bcca146673773e0fc82764747.zip |
Fix package version stamping.
Change-Id: I1615364071563c4f56b071d7d68e4660dd989296
Reviewed-on: https://code.wireshark.org/review/2198
Reviewed-by: Gerald Combs <gerald@wireshark.org>
(cherry picked from commit fd017eeae358fbcbb3f51f2765bd31777aa513d1)
Reviewed-on: https://code.wireshark.org/review/2201
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 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)); |