Added regex to remove spaces and new lines from version.c when compiling under Windows.

This commit is contained in:
W8M2Hg9lLmWqXSGC 2012-01-29 00:51:08 +00:00
parent a7bb811dc8
commit 50011f1970

View file

@ -57,6 +57,7 @@ if(open(SVNINFO, "svn info $main_dir|")) {
$compiletime[4] += 1;
$compiletime[5] += 1900;
my $ctime = sprintf("%6\$04i-%5\$02i-%4\$02i %3\$02i:%2\$02i:%1\$02i", @compiletime);
$svnversion=~ s/(^\s+|\s+$)//g;
print <<EOF
#include "proxmark3.h"