aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-08 22:22:10 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-08 22:22:10 +0200
commit5b89c7c5fd74fa10c4221c953762a7085d1f8a3d (patch)
tree2e255d7a8797532969a44c467ee73769a741d192
parentTry (diff)
downloadjoe-scripts-5b89c7c5fd74fa10c4221c953762a7085d1f8a3d.tar.gz
joe-scripts-5b89c7c5fd74fa10c4221c953762a7085d1f8a3d.tar.bz2
joe-scripts-5b89c7c5fd74fa10c4221c953762a7085d1f8a3d.tar.xz
joe-scripts-5b89c7c5fd74fa10c4221c953762a7085d1f8a3d.tar.zst
joe-scripts-5b89c7c5fd74fa10c4221c953762a7085d1f8a3d.zip
Should be working fine
Diffstat (limited to '')
-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 1d57b6c..2261154 100755
--- a/src/update/gitjoe.pl
+++ b/src/update/gitjoe.pl
@@ -62,8 +62,10 @@ sub stagit_generate {
system(
'/usr/local/bin/dash',
'-c',
- "sed 's/log.html/files.html/g' index.html >index.html"
+ "sed 's/log.html/files.html/g' index.html >sedded_index.html"
);
+ copy('./sedded_index.html', './index.html');
+ unlink('./sedded_index.html');
return;
}