From 61d06b7df1bd8a8fcc53e3d0799beae67e0649e2 Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Thu, 9 Jul 2020 17:16:03 +0200
Subject: Less fucked up

---
 src/update/gitjoe.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl
index f7d9de1..67bfd82 100755
--- a/src/update/gitjoe.pl
+++ b/src/update/gitjoe.pl
@@ -49,12 +49,12 @@ sub stagit_generate {
 		system(
 			'/usr/local/bin/dash',
 			'-c',
-			'/usr/bin/touch ' . $site_dir . $user . $repos[$i] . '.cache'
+			'/usr/bin/touch ' . $site_dir . $user . '/' . $repos[$i] . '.cache'
 			);
 		system(
 			'/usr/local/bin/dash',
 			'-c',
-			'/usr/local/bin/stagit -c ' . $site_dir . $user . $repos[$i] . '.cache ' . $home_dir . $repos[$i] . '/'
+			'/usr/local/bin/stagit -c ' . $site_dir . $user . '/' . $repos[$i] . '.cache ' . $home_dir . $repos[$i] . '/'
 			);
 		copy('../style.css', './style.css');
 		copy('../logo.png', './logo.png');
-- 
cgit v1.2.3