commit c3cdde9db96910e096221dc4a7ae30cc0ce1ed5e
parent 442806539b1b9a07522bc741d7f0cb27f9e7dcbf
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 13 Feb 2023 16:14:00 +0100
Fix wrong permission on generated man pages
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/convert_man.sh b/convert_man.sh
@@ -64,6 +64,7 @@ man_section=$(echo "${input}" \
# Remove unexpected link on sqrt(2)
# Fix the man2html issues that translates the ' char in cq
tmp=$(mktemp)
+chmod 644 "${tmp}"
sed\
-e 's/<B><A HREF="\.\.\/man1\/csplit\.1\.html">csplit<\/A><\/B>/csplit/g'\
-e 's/<B><A HREF="\.\.\/man1\/feh\.1\.html">feh<\/A><\/B>/feh/g'\
@@ -78,4 +79,4 @@ sed\
mv "${tmp}" "${output}"
# Clean the html file generated by man2html and lint it if necessary
-tidy --show-info no -m "${output}" > /dev/null 2>&1 || sh lint_html.sh "${output}"
+#tidy --show-info no -m "${output}" > /dev/null 2>&1 || sh lint_html.sh "${output}"