commit 017ecf1bdee6b4fb9ab362fa9e7a462ff9aef594
parent c94f6c22bfba71fcc03850945b8d4970e86492f5
Author: phoebos <ben@bvnf.space>
Date: Fri, 28 Jul 2023 12:32:40 +0100
download.http: mkdir
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bliss/download.lua b/bliss/download.lua
@@ -23,6 +23,7 @@ local function http(env, p, source, dest)
}
local args = args_map[libgen.basename(env.GET)] or utils.die("'"..env.GET.."' is unsupported as KISS_GET")
+ sys_stat.mkdir(libgen.dirname(dest))
utils.log(p, "Downloading " .. source)
--TODO: tmp file