X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/49b35ff9c21e9deefb10303effe65be575c65957..6d7234cd43b2f40b3bce56055d9727f9cdbc29ee:/tools/mkversion.pl diff --git a/tools/mkversion.pl b/tools/mkversion.pl index 351bac91..3cd469d1 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -57,11 +57,12 @@ 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 <