ports/sysutils/slurm-wlm/files/patch-doc_man_man2html.py
Kurt Jaeger ec57a2ae61 sysutils/slurm-wlm: 15.06.12 -> 16.05.4 and fix build hangs
PR:		210648
Changes:	https://github.com/SchedMD/slurm/blob/master/NEWS
Reported by:	w.schwarzenfeld@utanet.at
Submitted by:	Joseph Mingrone <jrm@ftfl.ca> (maintainer)
2016-08-25 03:20:23 +00:00

11 lines
395 B
Python

--- doc/man/man2html.py.orig 2016-08-24 23:46:50 UTC
+++ doc/man/man2html.py
@@ -180,7 +180,7 @@ version = sys.argv[1]
for f in sys.argv[4:]:
posLastDot = f.rfind(".")
mhtmlname = f[:posLastDot] + ".mhtml"
- cmd = "man2html " + f + "> " + mhtmlname
+ cmd = "man2html < " + f + "> " + mhtmlname
os.system(cmd)
print(">>>>>>> " + mhtmlname)
files.append(mhtmlname)