diff options
-rwxr-xr-x | src/update/gitjoe.pl | 5 |
1 files 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/<td>" . $user . "<\\/td>/<td class=\"td_author\">" . $user . "<\\/td>/g' index.html >sedded_index.html"; system( '/usr/local/bin/dash', '-c', - "sed 's/<td>" . $user . "<\\/td>/<td class=\"td_author\">" . $user . "<\\/td>/g' index.html >sedded_index.html" + "/usr/bin/sed 's/<td>" . $user . "<\\/td>/<td class=\"td_author\">" . $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'); |