File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ local function output_man(d)
3434 libname = name
3535 end
3636 local fname = " /tmp/" .. name .. " .3"
37- local mf = dtsys .io_open (fname , " w" )
37+ local mf = dtsys .io_popen (fname , " w" )
3838 if mf then
3939 mf :write (" .TH " .. string.upper (name ) .. " 3 \"\" \"\" \" Darktable " .. libname .. " functions\"\n " )
4040 for _ ,section in ipairs (keys ) do
@@ -46,7 +46,7 @@ local function output_man(d)
4646 mf :close ()
4747 if df .check_if_bin_exists (" groff" ) then
4848 if df .check_if_bin_exists (" ps2pdf" ) then
49- os.execute (" groff -man " .. fname .. " | ps2pdf - " .. fname .. " .pdf" )
49+ dtsys . os_execute (" groff -man " .. fname .. " | ps2pdf - " .. fname .. " .pdf" )
5050 else
5151 log .msg (log .error , " Missing ps2pdf. Can't generate pdf man pages." )
5252 end
You can’t perform that action at this time.
0 commit comments