]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/mkversion.pl
optimized loop in MifareNested (issue 36)
[proxmark3-svn] / tools / mkversion.pl
index 03ef27d286e24c55791bc46a566551cbe23d599b..3cd469d19c61c03421e0c44ebe5a596afba869ae 100644 (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"
Impressum, Datenschutz