diff options
| author | ruki <[email protected]> | 2016-09-01 14:54:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-09-01 14:54:55 +0800 |
| commit | 3e514c11027249b2c60966af5f2d5f5ae8eb361b (patch) | |
| tree | 52962a4f46482fa4b83daab2f8e622a332b98038 | |
| parent | 698ba0673743e5d260882432b8ba1aff8193c2ed (diff) | |
fix add_subpathes path issues
| -rw-r--r-- | xmake/core/base/interpreter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua index 7b2cc9e2c..75700e201 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -199,7 +199,7 @@ function interpreter:_api_builtin_add_subdirfiles(isdirs, ...) assert(scopes) -- get all subpathes - local subpathes = self:_api_translate_pathes(...) + local subpathes = table.join(...) -- match all subpathes local subpathes_matched = {} @@ -220,7 +220,7 @@ function interpreter:_api_builtin_add_subdirfiles(isdirs, ...) -- get the absolute file path if not path.is_absolute(file) then - file = path.absolute(file, self._PRIVATE._ROOTDIR) + file = path.absolute(file) end -- update the current file |
