summaryrefslogtreecommitdiff
path: root/xmake/core/base/io.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-17 11:17:11 +0800
committerruki <[email protected]>2016-03-17 11:17:11 +0800
commit2b233ade0aba7cb061d7b576357a462910c4b62f (patch)
treee81f198ef7b2e84ecb736dbaa3fe9057308b0187 /xmake/core/base/io.lua
parent713413a6f962704fdb5078a38b32c8637eca3d7a (diff)
make config.h
Diffstat (limited to 'xmake/core/base/io.lua')
-rw-r--r--xmake/core/base/io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/io.lua b/xmake/core/base/io.lua
index 71c6cc5b8..26c9163e2 100644
--- a/xmake/core/base/io.lua
+++ b/xmake/core/base/io.lua
@@ -159,7 +159,7 @@ function io.open(filepath, mode)
end
-- open it
- return io._open(filepath, mode)
+ return io._open(path.translate(filepath), mode)
end
-- save object the the given filepath