From 5578771047e7ddb072bcd6025933591bebd53e6d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 3 May 2019 10:10:04 +0100 Subject: [PATCH] Bug 21626: (follow-up) Performance Improvement Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- about.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/about.pl b/about.pl index 1020490899..8c73d87afd 100755 --- a/about.pl +++ b/about.pl @@ -578,8 +578,8 @@ for my $version ( sort { $a <=> $b } keys %{$teams->{team}} ) { my @people = map { { name => $_, ( $contributors->{$_} ? %{ $contributors->{$_} } : () ) } } sort { - my ($alast) = $a =~ /(\S+)$/; - my ($blast) = $b =~ /(\S+)$/; + my ($alast) = ( split( /\s/, $a ) )[-1]; + my ($blast) = ( split( /\s/, $b ) )[-1]; lc($alast) cmp lc($blast) } keys %{$contributors}; -- 2.39.5