aboutsummaryrefslogtreecommitdiffstats
path: root/src/update/gitjoe.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/update/gitjoe.pl')
-rwxr-xr-xsrc/update/gitjoe.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl
index 2655851..28d8709 100755
--- a/src/update/gitjoe.pl
+++ b/src/update/gitjoe.pl
@@ -44,10 +44,12 @@ sub stagit_generate {
mkdir($repos[$i], 0755);
chdir($site_dir . $user . '/' . $repos[$i] . '/');
$repos[$i] = $repos[$i] . '.git';
+ mkdir($site_dir . $user . '/', 0755);
+ print "Repoing " . $repos[$i] . "\n";
system(
'/usr/local/bin/dash',
'-c',
- '/usr/local/bin/stagit -l 200 ' . $home_dir . $repos[$i] . '/'
+ '/usr/local/bin/stagit -c ' . $site_dir . $user . $repos[$i] . '.cache -l 200 ' . $home_dir . $repos[$i] . '/'
);
copy('../style.css', './style.css');
copy('../logo.png', './logo.png');