From a6993d380657ae1bcca146673773e0fc82764747 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 13 Jun 2014 12:51:29 -0700 Subject: Fix package version stamping. Change-Id: I1615364071563c4f56b071d7d68e4660dd989296 Reviewed-on: https://code.wireshark.org/review/2198 Reviewed-by: Gerald Combs (cherry picked from commit fd017eeae358fbcbb3f51f2765bd31777aa513d1) Reviewed-on: https://code.wireshark.org/review/2201 --- make-version.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make-version.pl') 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)); -- cgit v1.2.1