diff options
author | Marek Polacek <polacek@redhat.com> | 2012-06-06 12:50:55 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2012-06-06 08:50:55 -0400 |
commit | 9adf6490fc9f9e29c2d34582df941c7a2945d612 (patch) | |
tree | 0980d623e38058b528b7bdf362f4fcbb52313e71 /contrib/mklog | |
parent | ce6d2586b573b25174238dd7918acfc09b937d7e (diff) | |
download | gcc-9adf6490fc9f9e29c2d34582df941c7a2945d612.zip gcc-9adf6490fc9f9e29c2d34582df941c7a2945d612.tar.gz gcc-9adf6490fc9f9e29c2d34582df941c7a2945d612.tar.bz2 |
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
Diffstat (limited to 'contrib/mklog')
-rwxr-xr-x | contrib/mklog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mklog b/contrib/mklog index 70308ab..a874c72 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); |