various scripts - reverted the calls to io_popen and os_execute back

to the respective lua calls.
This commit is contained in:
Bill Ferguson
2024-07-13 12:48:37 -04:00
parent 9f423eeef3
commit 1b272be5f5
14 changed files with 26 additions and 26 deletions

View File

@@ -46,7 +46,7 @@ local function output_man(d)
mf:close()
if df.check_if_bin_exists("groff") then
if df.check_if_bin_exists("ps2pdf") then
dtsys.os_execute("groff -man " .. fname .. " | ps2pdf - " .. fname .. ".pdf")
os.execute("groff -man " .. fname .. " | ps2pdf - " .. fname .. ".pdf")
else
log.msg(log.error, "Missing ps2pdf. Can't generate pdf man pages.")
end
@@ -60,7 +60,7 @@ end
-- find the libraries
local output = dtsys.io_popen("cd "..dt.configuration.config_dir.."/lua/lib ;find . -name \\*.lua -print | sort")
local output = io.popen("cd "..dt.configuration.config_dir.."/lua/lib ;find . -name \\*.lua -print | sort")
-- loop through the libraries