aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 16:48:57 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 16:48:57 +0200
commite40785efa594e86d0776b0c49065af779a9913ca (patch)
tree477a7a0afb5fe0040f525429ea567d9adb176b16
parentTry (diff)
downloadjoe-scripts-e40785efa594e86d0776b0c49065af779a9913ca.tar.gz
joe-scripts-e40785efa594e86d0776b0c49065af779a9913ca.tar.bz2
joe-scripts-e40785efa594e86d0776b0c49065af779a9913ca.tar.xz
joe-scripts-e40785efa594e86d0776b0c49065af779a9913ca.tar.zst
joe-scripts-e40785efa594e86d0776b0c49065af779a9913ca.zip
Test
-rwxr-xr-xsrc/update/gitjoe.pl5
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');