diff options
| author | Bernard Xiong <[email protected]> | 2020-05-11 18:22:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-11 18:22:42 +0800 |
| commit | 49f366e9474c0713cbe6e096eec6aedcb70197a9 (patch) | |
| tree | ada1d47020b40fc255249d3640ea100feb7865eb | |
| parent | b2b8887cead6bfb86f1c1cd00cf5c9569cf92014 (diff) | |
| parent | 53977c1fb4f92b3c5e2420b674d7764eeda187fc (diff) | |
Merge pull request #3589 from thread-liu/eclipse
[update] ubuntu 环境下,文件路径错误
| -rw-r--r-- | tools/eclipse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eclipse.py b/tools/eclipse.py index 699ecef4d1..48b38c8f0a 100644 --- a/tools/eclipse.py +++ b/tools/eclipse.py @@ -109,12 +109,12 @@ def ExcludeFiles(infiles, files): def ExcludePaths(rootpath, paths): ret = [] - files = os.listdir(rootpath) + files = os.listdir(OSPath(rootpath)) for file in files: if file.startswith('.'): continue - fullname = os.path.join(rootpath, file) + fullname = os.path.join(OSPath(rootpath), file) if os.path.isdir(fullname): # print(fullname) |
