From 3eb28cc6cc7a4534019af4aa2a509a423a6a420e Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Tue, 7 Jul 2020 20:18:24 +0200
Subject: Better with that

---
 update-gitjoe.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/update-gitjoe.pl b/update-gitjoe.pl
index 79dc28c..de53cd1 100755
--- a/update-gitjoe.pl
+++ b/update-gitjoe.pl
@@ -13,6 +13,7 @@ sub get_repos_index {
 	while (my $dir = readdir(DIR)) {
 		next if ($dir =~ m/^\./);
 		next if (!(-e $homedir . $dir . '/git-daemon-export-ok'));
+		$repos[$i] = $dir;
 		$i += 1;
 	}
 	$i = 0;
-- 
cgit v1.2.3