xmeta / asciidoc

Automatically exported from code.google.com/p/asciidoc
Other
0 stars 0 forks source link

XMLLINT variable in a2x should only be set to xmllint if the program is in the PATH #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do not have xmllint in the PATH
2. Run a2x on doc source that would create an intermediate xml file

What is the expected output? What do you see instead?
a2x fails, complaining about not being able to find xmllint.

What version of the product are you using? On what operating system?
This is still in trunk.

Please provide any additional information below.
Should be something like:
    XMLLINT=(subprocess.call(["which", "xmllint"], stdout=subprocess.PIPE) == 0 and "xmllint" or "")

Original issue reported on code.google.com by developm...@efficientek.com on 20 May 2013 at 5:34