removed the -p flag from OpenOS mkdir
This commit is contained in:
parent
407d8fa43c
commit
efe7e000c4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user