mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-24 15:05:29 -07:00
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:
parent
faabfafe30
commit
c3b6fdfa5b
1 changed files with 3 additions and 3 deletions
|
@ -16,14 +16,14 @@ my $githistory = `git fetch --all`;
|
||||||
my $gitversion = `git describe --dirty`;
|
my $gitversion = `git describe --dirty`;
|
||||||
my $gitbranch = `git rev-parse --abbrev-ref HEAD`;
|
my $gitbranch = `git rev-parse --abbrev-ref HEAD`;
|
||||||
my $clean = 2;
|
my $clean = 2;
|
||||||
my @compiletime = gmtime();
|
my @compiletime = localtime();
|
||||||
|
|
||||||
my $fullgitinfo = 'iceman';
|
my $fullgitinfo = 'iceman';
|
||||||
|
|
||||||
if ( defined $gitbranch and defined $gitversion ) {
|
if ( defined $gitbranch and defined $gitversion ) {
|
||||||
$fullgitinfo = '/'. $gitbranch . '/' . $gitversion;
|
$fullgitinfo = $fullgitinfo.'/'. $gitbranch . '/' . $gitversion;
|
||||||
} else {
|
} else {
|
||||||
$fullgitinfo = '/master/release-build (no_git)';
|
$fullgitinfo = $fullgitinfo.'/master/release-build (no_git)';
|
||||||
}
|
}
|
||||||
|
|
||||||
$fullgitinfo =~ s/(\s)//g;
|
$fullgitinfo =~ s/(\s)//g;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue