From: Marek Polacek Date: Wed, 6 Jun 2012 12:50:55 +0000 (+0000) Subject: The new mklog script prints three spaces after the date part, which is wrong. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9adf6490fc9f9e29c2d34582df941c7a2945d612;p=gcc.git The new mklog script prints three spaces after the date part, which is wrong. The new mklog script prints three spaces after the date part, which is wrong. Thus fixed by adjusting the split pattern. Tested manually. 2012-05-31 Marek Polacek * mklog: Prevent printing three spaces after the date. From-SVN: r188265 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 65c5343bca0..8c21a8a6bad 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2012-05-31 Marek Polacek + + * mklog: Prevent printing three spaces after the date. + 2012-06-04 Diego Novillo * testsuite-management/validate_failures.py (GetResults): diff --git a/contrib/mklog b/contrib/mklog index 70308ab44a2..a874c7215c5 100755 --- a/contrib/mklog +++ b/contrib/mklog @@ -29,7 +29,7 @@ # Change these settings to reflect your profile. $username = $ENV{'USER'}; $name = `finger $username | grep -o 'Name: .*'`; -@n = split(/:/, $name); +@n = split(/: /, $name); $name = @n[1]; chop($name); $addr = $username . "\@my.domain.org"; $date = `date +%Y-%m-%d`; chop ($date);