Skip to content

Commit 456cc59

Browse files
committed
Fix litani run.json and litani outcome-table.json man pages
1 parent 8e6cbd9 commit 456cc59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def man_to_html(man_name, man_out, builds):
134134
def convert_man_dir_to_man(
135135
src_dir, dst_dir, rule, html_mans, builds, gen_html, extra_inputs=None):
136136
for man in (src_dir).iterdir():
137-
man_name = str(man.name).split(".", 1)[0]
137+
man_name = man.stem
138138
if man.suffix == ".scdoc":
139139
with open(man) as fp:
140140
line = fp.readline().rstrip()
@@ -207,7 +207,7 @@ def main():
207207
add_litani_7(builds, html_mans, args.gen_html)
208208

209209
for h in html_mans:
210-
if "litani.7" in str(h.resolve()):
210+
if "litani.7" in h.name:
211211
html_mans.insert(0, html_mans.pop(html_mans.index(h)))
212212

213213
if args.gen_html:

0 commit comments

Comments
 (0)