commit b3f29629077189a09ea92fa5b11736a1c41d3281 parent 0d9d18a5d2bf517c112cf28b8bd3c06ccd9562c2 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sun, 28 Apr 2024 18:53:30 +0200 use absolute path Diffstat:
M | bin/git_update_repo_html.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -47,7 +47,7 @@ MAILEXP='s/([a-zA-Z0-9\.]+)\@([a-zA-Z0-9\-]+)\.([a-z]+)/\1\[AT\]\2\[DOT\]\3/g' find "${1}/${2}/${3}/" -type f -exec sed -E -e ${MAILEXP} -i {} \; # Add Exports to menu -INJEXP="s/(>Log<\/a>)/\1 \| <a href=\"..\/${3}.exp\/\">Exports<\/a> /" +INJEXP="s/(>Log<\/a>)/\1 \| <a href=\"\/${2}\/${3}.exp\/\">Exports<\/a> /" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # link assets