소스 검색

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 = ""