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)
34
34
libname = name
35
35
end
36
36
local fname = " /tmp/" .. name .. " .3"
37
- local mf = dtsys .io_open (fname , " w" )
37
+ local mf = dtsys .io_popen (fname , " w" )
38
38
if mf then
39
39
mf :write (" .TH " .. string.upper (name ) .. " 3 \"\" \"\" \" Darktable " .. libname .. " functions\"\n " )
40
40
for _ ,section in ipairs (keys ) do
@@ -46,7 +46,7 @@ local function output_man(d)
46
46
mf :close ()
47
47
if df .check_if_bin_exists (" groff" ) then
48
48
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" )
50
50
else
51
51
log .msg (log .error , " Missing ps2pdf. Can't generate pdf man pages." )
52
52
end
You can’t perform that action at this time.
0 commit comments