1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

No need to test intermediate XML, and delete after conversion

This commit is contained in:
Badlop 2025-08-24 13:47:37 +02:00
parent bf262a6051
commit 066e0a8101

View file

@ -437,7 +437,7 @@ run_a2x(Cwd, AsciiDocFile) ->
{error, "a2x was not found: do you have 'asciidoc' installed?"}; {error, "a2x was not found: do you have 'asciidoc' installed?"};
{true, Path} -> {true, Path} ->
Cmd = lists:flatten( Cmd = lists:flatten(
io_lib:format("~ts -f manpage ~ts -D ~ts", io_lib:format("~ts --no-xmllint -f manpage ~ts -D ~ts",
[Path, AsciiDocFile, Cwd])), [Path, AsciiDocFile, Cwd])),
case os:cmd(Cmd) of case os:cmd(Cmd) of
"" -> ok; "" -> ok;