fix folder creation
This commit is contained in:
parent
01c101fe34
commit
f906cb0195
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user