From: Junio C Hamano Date: Sun, 2 May 2010 14:54:09 +0000 (-0700) Subject: cook: parse ctime(3) output correctly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7a43d78d5471de8eea9c4de23a13b05c99cada7;p=thirdparty%2Fgit.git cook: parse ctime(3) output correctly --- diff --git a/cook b/cook index e76a6e9593..03581f441d 100755 --- a/cook +++ b/cook @@ -444,7 +444,7 @@ sub update_issue { my $now_string = localtime; my ($current_dow, $current_mon, $current_date, $current_year) = - ($now_string =~ /^(\w+) (\w+) (\d+) [\d:]+ (\d+)$/); + ($now_string =~ /^(\w+) (\w+) +(\d+) [\d:]+ (\d+)$/); my $btext = $cooking->{'topic_description'}{$blurb}{'text'}; if ($btext !~ s/\A$blurb_match//) {