diff options
| author | ruki <[email protected]> | 2016-06-21 21:48:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-06-22 10:26:10 +0800 |
| commit | 902fbe1ba80062b7f6c73f012827cd3d7ba4f3ae (patch) | |
| tree | c55a96abefaba86b208dd747461f1b650d8cb825 /xmake/core/base/os.lua | |
| parent | 432fd6a40018f4c29e08f1d4cadf1ccc387a0cff (diff) | |
fix path bug
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 91dba1524..228219513 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -88,7 +88,7 @@ function os.match(pattern, findir) -- patch "./" for matching ok if root directory is '.' if rootdir == '.' then - pattern = "./" .. pattern + pattern = "." .. path.seperator() .. pattern end -- find it |
