aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 20:18:24 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 20:18:24 +0200
commit3eb28cc6cc7a4534019af4aa2a509a423a6a420e (patch)
tree25cce20532d0c9fca9a08223d71ac01cf2d112ca
parentTesting that dir listing (diff)
downloadjoe-scripts-3eb28cc6cc7a4534019af4aa2a509a423a6a420e.tar.gz
joe-scripts-3eb28cc6cc7a4534019af4aa2a509a423a6a420e.tar.bz2
joe-scripts-3eb28cc6cc7a4534019af4aa2a509a423a6a420e.tar.xz
joe-scripts-3eb28cc6cc7a4534019af4aa2a509a423a6a420e.tar.zst
joe-scripts-3eb28cc6cc7a4534019af4aa2a509a423a6a420e.zip
Better with that
-rwxr-xr-xupdate-gitjoe.pl1
1 files changed, 1 insertions, 0 deletions
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;