aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}