Commit 2e548440 authored by Tristan Cavelier's avatar Tristan Cavelier

wkhtmltopdf: fix argument propagation to wkhtmltopdf binary

parent 3cab4d57
......@@ -35,6 +35,7 @@ script =
wrapper.write("""#!${dash:location}/bin/dash
export LD_LIBRARY_PATH=%(location)s:${libXrender:location}/lib/:${fontconfig:location}/lib/:${libX11:location}/lib/:${libXext:location}/lib/
export PATH=${fontconfig:location}/bin:$PATH
exec %(location)s/wkhtmltopdf-""" + WK_SUFIX_MAP[platform]+ """ $*""")
exec %(location)s/wkhtmltopdf-""" + WK_SUFIX_MAP[platform]+ """ "$@"
""")
wrapper.close()
os.chmod(wrapper_location, 0755)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment