From 4b405fd4a2225ab125ed2d853283058ad0badbf1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 9 Jul 2020 16:45:11 +0200 Subject: Try --- src/update/gitjoe.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/update/gitjoe.pl') diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl index 2261154..d57672e 100755 --- a/src/update/gitjoe.pl +++ b/src/update/gitjoe.pl @@ -62,9 +62,14 @@ sub stagit_generate { system( '/usr/local/bin/dash', '-c', - "sed 's/log.html/files.html/g' index.html >sedded_index.html" + "sed 's/" . $user . "<\\/td>/" . $user . "<\\/td>/g' index.html >sedded_index.html" ); - copy('./sedded_index.html', './index.html'); + system( + '/usr/local/bin/dash', + '-c', + "sed 's/log.html/files.html/g' sedded_index.html >index.html" + ); + # copy('./sedded_index.html', './index.html'); unlink('./sedded_index.html'); return; } -- cgit v1.2.3