X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/49b35ff9c21e9deefb10303effe65be575c65957..14006804dd8e68db2a877e0ee588f10a1b178caf:/tools/mkversion.pl?ds=sidebyside 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 <