POSIX path fix (last checkin) didn't work on Windows; fixed
This commit is contained in:
parent
63057c01c2
commit
5e0856379c
@ -72,7 +72,7 @@
|
||||
|
||||
local builtin_mkdir = os.mkdir
|
||||
function os.mkdir(p)
|
||||
local dir = iif(path.isabsolute(p), "/", "")
|
||||
local dir = iif(p:startswith("/"), "/", "")
|
||||
for part in p:gmatch("[^/]+") do
|
||||
dir = dir .. part
|
||||
|
||||
|
Reference in New Issue
Block a user