Skip to content

Commit 49f366e

Browse files
authored
Merge pull request #3589 from thread-liu/eclipse
[update] ubuntu 环境下,文件路径错误
2 parents b2b8887 + 53977c1 commit 49f366e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/eclipse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ def ExcludeFiles(infiles, files):
109109
def ExcludePaths(rootpath, paths):
110110
ret = []
111111

112-
files = os.listdir(rootpath)
112+
files = os.listdir(OSPath(rootpath))
113113
for file in files:
114114
if file.startswith('.'):
115115
continue
116116

117-
fullname = os.path.join(rootpath, file)
117+
fullname = os.path.join(OSPath(rootpath), file)
118118

119119
if os.path.isdir(fullname):
120120
# print(fullname)

0 commit comments

Comments
 (0)