removed the -p flag from OpenOS mkdir

This commit is contained in:
Izaya 2020-10-19 16:46:58 +11:00
parent 407d8fa43c
commit efe7e000c4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ local function mkdir(path)
if dirs[path] then return true end if dirs[path] then return true end
local fstr = "mkdir -p '%s'" local fstr = "mkdir -p '%s'"
if _OSVERSION:sub(1,6) == "OpenOS" then if _OSVERSION:sub(1,6) == "OpenOS" then
fstr = "mkdir -p '%s'" fstr = "mkdir '%s'"
end end
local command = string.format(fstr,path) local command = string.format(fstr,path)
print(command) print(command)