commit fcb300f4e19428400ddb95ebce56545aa1076de0 parent 39035a6294b6c03b846033c4d0fea1087c485a0f Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sun, 28 Apr 2024 21:45:59 +0200 Make path absolute 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 @@ -51,7 +51,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=\"exports\/\">Exports<\/a> /" +INJEXP="s/(>Log<\/a>)/\1 \| <a href=\"\/${2}/${3}/exports\/\">Exports<\/a> /" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # link assets