Преглед изворни кода

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