X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e3ac0d70956f5b5fee633f7cbf4b3b8616e4f06c..refs/pull/910/head:/tools/mkversion.pl diff --git a/tools/mkversion.pl b/tools/mkversion.pl index de394a85..19616441 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -7,7 +7,7 @@ # --- Martin Holst Swende -# Clear environment locale so that svn will not use localized strings +# Clear environment locale so that git will not use localized strings $ENV{'LC_ALL'} = "C"; $ENV{'LANG'} = "C"; @@ -16,9 +16,9 @@ my $gitbranch = `git rev-parse --abbrev-ref HEAD`; my $clean = 2; my @compiletime = gmtime(); -my $fullgitinfo= $gitbranch . '/'.$gitversion; +my $fullgitinfo = $gitbranch . '/' . $gitversion; -$fullgitinfo=~ s/(\s)//g; +$fullgitinfo =~ s/(\s)//g; # Crop so it fits within 50 characters $fullgitinfo =~ s/.{50}\K.*//s;