From 044f3ccc9edc1ba5c2853cfd929583db602bb444 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 25 Apr 2022 20:29:36 +0200 Subject: Even cleaner --- src/cron/gitjoe.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cron/gitjoe.pl b/src/cron/gitjoe.pl index 87d95a2..f3b85a4 100755 --- a/src/cron/gitjoe.pl +++ b/src/cron/gitjoe.pl @@ -25,8 +25,8 @@ sub get_repos_index { $i += 1; } closedir(DIR); - my @sorted_repos = sort @repos; - return @sorted_repos; + @repos = sort @repos; + return @repos; } sub stagit_generate { -- cgit v1.2.3