Updated nameing (svn -> git) & fixed whitespaces.

This commit is contained in:
ikarus 2014-04-02 21:46:25 +02:00
commit 9c6837165b
3 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
# --- Martin Holst Swende <martin@swende.se>
# 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;