diff options
Diffstat (limited to 'src/update-gitjoe.pl')
-rwxr-xr-x | src/update-gitjoe.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update-gitjoe.pl b/src/update-gitjoe.pl index 34a4e50..ecf7c71 100755 --- a/src/update-gitjoe.pl +++ b/src/update-gitjoe.pl @@ -38,10 +38,10 @@ sub stagit_generate { '/bin/rm -rf ' . $user . '/' ); mkdir($user, 0755); - chdir($site_dir . $user . '/'); my $i = 0; my $repos_line = ""; while ($i < @repos) { + chdir($site_dir . $user . '/'); $repos_line = $repos_line . ' ' . $home_dir . $repos[$i] . '/'; substr($repos[$i], -4) = ""; mkdir($repos[$i], 0755); |