bliss

KISS in Lua
git clone git://bvnf.space/bliss.git
Log | Files | Refs | README | LICENSE

commit 4228cf8fd39e1430cb5b5f89996b62b1f9d3e554
parent 807178083a2b2b87d9ff88412628ca12cfa5596d
Author: phoebos <ben@bvnf.space>
Date:   Wed, 12 Jul 2023 12:50:50 +0100

build.gen_manifest: correctly handle empty dirs

Diffstat:
Mbliss/build.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bliss/build.lua b/bliss/build.lua @@ -85,7 +85,7 @@ local function gen_manifest(env, p) local mani = {} -- Make use of GLOB_MARK to append a slash to directories for us. - local t = glob.glob(dir, glob.GLOB_MARK) + local t = glob.glob(dir, glob.GLOB_MARK) or {} for _,v in ipairs(t) do if libgen.basename(v) ~= "charset.alias" and v:sub(-3) ~= ".la" then