Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit ebd0c17a authored by Achim Gsell's avatar Achim Gsell
Browse files

fixes in manual2pdf

- option -i without argument is a GNU extension
- exit script if fix_latxmath returns with an error
parent a32aa430
No related branches found
No related tags found
No related merge requests found
...@@ -20,9 +20,9 @@ rm -f *.aux *.bbl *.cb* *.lo* *.idx *.toc *.tex *.xml *.glo *.4tc *.dvi *.tmp *. ...@@ -20,9 +20,9 @@ rm -f *.aux *.bbl *.cb* *.lo* *.idx *.toc *.tex *.xml *.glo *.4tc *.dvi *.tmp *.
# we have to set the revdate here. Otherwise asciidoctor uses # we have to set the revdate here. Otherwise asciidoctor uses
# the timestamp of Manual.asciidoc. # the timestamp of Manual.asciidoc.
declare revdate=$(git log -1 --date=format:'%Y-%m-%d' --format=%cd) declare revdate=$(git log -1 --date=format:'%Y-%m-%d' --format=%cd)
sed -i "s/@REVDATE@/${revdate}/" Manual.asciidoc sed -i.bak "s/@REVDATE@/${revdate}/" Manual.asciidoc
"${mydir}/fix_latexmath" "${mydir}/fix_latexmath" || exit 3
if [[ "${create_tex_output}" == "no" ]]; then if [[ "${create_tex_output}" == "no" ]]; then
asciidoctor -b docbook5 -d book "${input_fname}" || exit 1 asciidoctor -b docbook5 -d book "${input_fname}" || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment