Commit aa65657a authored by Natanael Copa's avatar Natanael Copa
Browse files

aports.lua: read variables frrom abuild.conf

parent 0b836466
module(..., package.seeall)
abuild_conf_file = "/etc/abuild.conf"
local abuild_conf = {}
function get_abuild_conf(var)
if abuild_conf[var] == nil then
local f = io.popen(" . "..abuild_conf_file..' ; echo -n "$'..var..'"')
abuild_conf[var] = f:read("*all")
return abuild_conf[var]
local function split_subpkgs(str)
local t = {}
local e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment