aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 21:11:18 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 21:11:18 +0200
commitd18c892d64dbf435a86caa3ad5ecf3fc67f57b52 (patch)
tree8b680617dcf11f61320ed531c33474d721e02807
parentBug fix (diff)
downloadjoe-scripts-d18c892d64dbf435a86caa3ad5ecf3fc67f57b52.tar.gz
joe-scripts-d18c892d64dbf435a86caa3ad5ecf3fc67f57b52.tar.bz2
joe-scripts-d18c892d64dbf435a86caa3ad5ecf3fc67f57b52.tar.xz
joe-scripts-d18c892d64dbf435a86caa3ad5ecf3fc67f57b52.tar.zst
joe-scripts-d18c892d64dbf435a86caa3ad5ecf3fc67f57b52.zip
Fix?
Diffstat (limited to '')
-rwxr-xr-xsrc/update-gitjoe.pl2
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);