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
This commit is contained in:
Gerald Combs 2014-06-13 12:51:29 -07:00
parent 4dfbb792c8
commit a6993d3806
1 changed files with 1 additions and 1 deletions

View File

@ -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));