fix bug in io.open override
This commit is contained in:
parent
1738c13263
commit
dd87f019d0
@ -11,7 +11,7 @@
|
||||
--
|
||||
|
||||
premake.override(io, "open", function(base, fname, mode)
|
||||
if mode and mode:find("w") then
|
||||
if mode and (mode:find("w") or mode:find("a")) then
|
||||
local dir = path.getdirectory(fname)
|
||||
ok, err = os.mkdir(dir)
|
||||
if not ok then
|
||||
|
Loading…
Reference in New Issue
Block a user