mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 03:14:53 +08: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
|
||||
my $fullgitinfo = 'iceman';
|
||||
my $ctime = '';
|
||||
my $ctime;
|
||||
# GIT status 0 = dirty, 1 = clean , 2 = undecided
|
||||
my $clean = 2;
|
||||
# Do we have acces to git command?
|
||||
|
@ -40,13 +40,12 @@ if ( defined($commandGIT) ) {
|
|||
}
|
||||
} else {
|
||||
$fullgitinfo = $fullgitinfo.'/master/release (no_git)';
|
||||
my @dl_time = localtime( (stat('../README.md'))[10] );
|
||||
$dl_time[4] += 1;
|
||||
$dl_time[5] += 1900;
|
||||
$ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @dl_time);
|
||||
}
|
||||
|
||||
my @dl_time = localtime( (stat('../README.md'))[10] );
|
||||
$dl_time[4] += 1;
|
||||
$dl_time[5] += 1900;
|
||||
$ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @dl_time);
|
||||
|
||||
$fullgitinfo =~ s/(\s)//g;
|
||||
|
||||
# Crop so it fits within 50 characters
|
||||
|
|
Loading…
Reference in a new issue