From e40785efa594e86d0776b0c49065af779a9913ca Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 9 Jul 2020 16:48:57 +0200 Subject: Test --- src/update/gitjoe.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl index d57672e..93eac79 100755 --- a/src/update/gitjoe.pl +++ b/src/update/gitjoe.pl @@ -59,15 +59,16 @@ sub stagit_generate { '-c', '/usr/local/bin/stagit-index ' . $repos_line . '> index.html' ); + print "/usr/bin/sed 's/" . $user . "<\\/td>/" . $user . "<\\/td>/g' index.html >sedded_index.html"; system( '/usr/local/bin/dash', '-c', - "sed 's/" . $user . "<\\/td>/" . $user . "<\\/td>/g' index.html >sedded_index.html" + "/usr/bin/sed 's/" . $user . "<\\/td>/" . $user . "<\\/td>/g' index.html >sedded_index.html" ); system( '/usr/local/bin/dash', '-c', - "sed 's/log.html/files.html/g' sedded_index.html >index.html" + "/usr/bin/sed 's/log.html/files.html/g' sedded_index.html >index.html" ); # copy('./sedded_index.html', './index.html'); unlink('./sedded_index.html'); -- cgit v1.2.3