mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: time time..
This commit is contained in:
parent
fd3f3bb1ef
commit
1a0a465e11
1 changed files with 5 additions and 6 deletions
|
@ -15,7 +15,7 @@ $ENV{'LANG'} = "C";
|
||||||
|
|
||||||
# if you are making your own fork, change this line to reflect your fork-name
|
# if you are making your own fork, change this line to reflect your fork-name
|
||||||
my $fullgitinfo = 'iceman';
|
my $fullgitinfo = 'iceman';
|
||||||
my $ctime = '';
|
my $ctime;
|
||||||
# GIT status 0 = dirty, 1 = clean , 2 = undecided
|
# GIT status 0 = dirty, 1 = clean , 2 = undecided
|
||||||
my $clean = 2;
|
my $clean = 2;
|
||||||
# Do we have acces to git command?
|
# Do we have acces to git command?
|
||||||
|
@ -40,12 +40,11 @@ if ( defined($commandGIT) ) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$fullgitinfo = $fullgitinfo.'/master/release (no_git)';
|
$fullgitinfo = $fullgitinfo.'/master/release (no_git)';
|
||||||
}
|
|
||||||
|
|
||||||
my @dl_time = localtime( (stat('../README.md'))[10] );
|
my @dl_time = localtime( (stat('../README.md'))[10] );
|
||||||
$dl_time[4] += 1;
|
$dl_time[4] += 1;
|
||||||
$dl_time[5] += 1900;
|
$dl_time[5] += 1900;
|
||||||
$ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @dl_time);
|
$ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @dl_time);
|
||||||
|
}
|
||||||
|
|
||||||
$fullgitinfo =~ s/(\s)//g;
|
$fullgitinfo =~ s/(\s)//g;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue