mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
Added regex to remove spaces and new lines from version.c when compiling under Windows.
This commit is contained in:
parent
a7bb811dc8
commit
50011f1970
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ if(open(SVNINFO, "svn info $main_dir|")) {
|
||||||
$compiletime[4] += 1;
|
$compiletime[4] += 1;
|
||||||
$compiletime[5] += 1900;
|
$compiletime[5] += 1900;
|
||||||
my $ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @compiletime);
|
my $ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @compiletime);
|
||||||
|
$svnversion=~ s/(^\s+|\s+$)//g;
|
||||||
|
|
||||||
print <<EOF
|
print <<EOF
|
||||||
#include "proxmark3.h"
|
#include "proxmark3.h"
|
||||||
|
|
Loading…
Reference in a new issue