aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 17:13:31 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 17:13:31 +0200
commit2bbaa6aaf04b95eb439047418c9950ebd568bce0 (patch)
tree78194ea9f72263fe7bc31b0dfc3da49fc2f7e84e
parentForgot cache/ (diff)
downloadjoe-scripts-2bbaa6aaf04b95eb439047418c9950ebd568bce0.tar.gz
joe-scripts-2bbaa6aaf04b95eb439047418c9950ebd568bce0.tar.bz2
joe-scripts-2bbaa6aaf04b95eb439047418c9950ebd568bce0.tar.xz
joe-scripts-2bbaa6aaf04b95eb439047418c9950ebd568bce0.tar.zst
joe-scripts-2bbaa6aaf04b95eb439047418c9950ebd568bce0.zip
Trying with /usr/bin/touch
-rwxr-xr-xsrc/update/gitjoe.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl
index e31276e..14572ec 100755
--- a/src/update/gitjoe.pl
+++ b/src/update/gitjoe.pl
@@ -49,6 +49,11 @@ sub stagit_generate {
system(
'/usr/local/bin/dash',
'-c',
+ '/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 -l 200 ' . $home_dir . $repos[$i] . '/'
);
copy('../style.css', './style.css');