updated haproxy state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-05-25 22:10:30 +02:00
parent e9b2c207f9
commit 4edf24c4ce

View File

@ -15,9 +15,8 @@ function compile.check(module)
local binexists = io.open(binpath)
if not binexists or (binexists and lfs.attributes(sourcepath).change > lfs.attributes(binpath).change ) then
local cmd = string.format("cc -I/usr/include/ -I/usr/include/lua%s/ -fPIC -shared -o %s %s %s", lua_version, binpath, sourcepath, table.concat(libs," "))
local res = io.popen(cmd)
io.popen("chown %s:%s %s", user, group, binpath)
io.popen(string.format("cc -I/usr/include/ -I/usr/include/lua%s/ -fPIC -shared -o %s %s %s", lua_version, binpath, sourcepath, table.concat(libs, " ")))
io.popen(string.format("chown %s:%s %s", user, group, binpath))
io.popen(string.format("chmod 600 %s", binpath))
end
end