浏览代码

update uvprojx file path to abspath

yaxing.chen 4 年之前
父节点
当前提交
c38e2bc6ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/eclipse.py

+ 1 - 1
tools/eclipse.py

@@ -528,7 +528,7 @@ def TargetEclipse(env, reset=False, prj_name=None):
         if len(items) > 0:
             for item in items:
                 if item.endswith(".uvprojx") or item.endswith(".uvproj"):
-                    file = item
+                    file = os.path.abspath(item)
                     break
         else:
             file = ""