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.
This commit is contained in:
iceman1001 2016-09-26 12:28:35 +02:00
parent faabfafe30
commit c3b6fdfa5b

View file

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