aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 16:45:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 16:45:11 +0200
commit4b405fd4a2225ab125ed2d853283058ad0badbf1 (patch)
treee5bc2ed8fbd8422f2de2ad07cadbcfd163454090
parentShould be working fine (diff)
downloadjoe-scripts-4b405fd4a2225ab125ed2d853283058ad0badbf1.tar.gz
joe-scripts-4b405fd4a2225ab125ed2d853283058ad0badbf1.tar.bz2
joe-scripts-4b405fd4a2225ab125ed2d853283058ad0badbf1.tar.xz
joe-scripts-4b405fd4a2225ab125ed2d853283058ad0badbf1.tar.zst
joe-scripts-4b405fd4a2225ab125ed2d853283058ad0badbf1.zip
Try
-rwxr-xr-xsrc/update/gitjoe.pl9
1 files changed, 7 insertions, 2 deletions
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/<td>" . $user . "<\\/td>/<td class=\"td_author\">" . $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;
}