From: iceman1001 Date: Mon, 26 Sep 2016 10:28:35 +0000 (+0200) Subject: CHG: saw @menshiyun 's change to localtime on github. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c3b6fdfa5b30ad77457a2bae99db69bcd09e2968 CHG: saw @menshiyun 's change to localtime on github. CHG: make sure that the 'iceman' label is in the version text. This is purely to make sure if they are using my fork or not. --- diff --git a/tools/mkversion.pl b/tools/mkversion.pl index 3edc3605..2755b3b9 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -16,14 +16,14 @@ my $githistory = `git fetch --all`; my $gitversion = `git describe --dirty`; my $gitbranch = `git rev-parse --abbrev-ref HEAD`; my $clean = 2; -my @compiletime = gmtime(); +my @compiletime = localtime(); my $fullgitinfo = 'iceman'; if ( defined $gitbranch and defined $gitversion ) { - $fullgitinfo = '/'. $gitbranch . '/' . $gitversion; + $fullgitinfo = $fullgitinfo.'/'. $gitbranch . '/' . $gitversion; } else { - $fullgitinfo = '/master/release-build (no_git)'; + $fullgitinfo = $fullgitinfo.'/master/release-build (no_git)'; } $fullgitinfo =~ s/(\s)//g;