diff options
Diffstat (limited to 'src/update-gitjoe.pl')
-rwxr-xr-x | src/update-gitjoe.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update-gitjoe.pl b/src/update-gitjoe.pl index 473d9e8..fdf8a80 100755 --- a/src/update-gitjoe.pl +++ b/src/update-gitjoe.pl @@ -14,12 +14,12 @@ sub get_repos_index { while (my $dir = readdir(DIR)) { next if ($dir =~ m/^\./); next if (!(-e $home_dir . $dir . '/git-daemon-export-ok')); - print $dir; $repos[$i] = $dir; $i += 1; } closedir(DIR); - return @repos; + my @sorted_repos = sort @repos; + return @sorted_repos; } sub stagit_generate { |