From 0907fb1e7a2f3fdcedd3a4236aadd460f7c07917 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 22 Jan 2020 13:50:22 +0100 Subject: [PATCH] TT#71952 tt2-process: Add missing parenthesis around sort This makes sure we sort each array, instead of sorting the second, and then letting perl merge the first aray with the result of the second sort, and then sorting them all as a single array. Change-Id: I7cd22bf479fee79c104627bf652f0ee674117eec Fixes: commit 011ce33f32a24a4702ca8f8eec530bb2745764a2 --- helper/tt2-process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/tt2-process b/helper/tt2-process index 0631c74e..fdf9fb75 100755 --- a/helper/tt2-process +++ b/helper/tt2-process @@ -295,7 +295,7 @@ sub generate_iofiles { my @filenames = map { { input => $_, output => $filenames{$_}, - } } (sort @filenames_prio, sort @filenames_norm); + } } (sort(@filenames_prio), sort(@filenames_norm)); return @filenames; }