fix folder creation

This commit is contained in:
kiyan42 2020-04-11 10:16:16 +02:00
parent 01c101fe34
commit f906cb0195

View File

@ -50,7 +50,7 @@ local function rename(file, new_path)
end end
local function create(path, file, folders) local function create(path, file, folders)
if folders ~= "" then system('mkdir -p '..folders) end if folders ~= "" then system('mkdir -p '..path..folders) end
if file ~= nil then system('touch '..path..folders..file) end if file ~= nil then system('touch '..path..folders..file) end
end end