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

View File

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