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  <polacek@redhat.com>

       * mklog: Prevent printing three spaces after the date.

From-SVN: r188265
This commit is contained in:
Marek Polacek 2012-06-06 12:50:55 +00:00 committed by Diego Novillo
parent ce6d2586b5
commit 9adf6490fc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-05-31 Marek Polacek <polacek@redhat.com>
* mklog: Prevent printing three spaces after the date.
2012-06-04 Diego Novillo <dnovillo@google.com>
* testsuite-management/validate_failures.py (GetResults):

View File

@ -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);