update uvprojx file path to abspath

This commit is contained in:
yaxing.chen 2021-01-25 11:42:10 +08:00
parent a77e99f7c2
commit c38e2bc6ec
1 changed files with 1 additions and 1 deletions

View File

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