Lines Matching refs:tmpdir
359 local function dependent_options(tmpdir, option_name, all_opts, omit_others)
364 local srcconf = tmpdir .. "/src-" ..prefix .. "ALL_" ..
405 local function all_dependent_options(tmpdir, options, default_opts,
429 local enforced_options = dependent_options(tmpdir, name,
433 local effect_options = dependent_options(tmpdir, name,
564 local function main(tmpdir)
571 local srcconf_all <const> = tmpdir .. "/src-all-enabled.conf"
609 all_enforced_options, all_effect_options = all_dependent_options(tmpdir,
772 local tmpdir = "/tmp/makeman." .. unistd.getpid()
774 if not lfs.mkdir(tmpdir) then
775 error("Failed to create tempdir " .. tmpdir)
779 local ret, errobj = pcall(main, tmpdir)
781 for fname in lfs.dir(tmpdir) do
783 assert(os.remove(tmpdir .. "/" .. fname))
787 if not lfs.rmdir(tmpdir) then
788 assert(io.stderr:write("Failed to clean up tmpdir: " .. tmpdir .. "\n"))