summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryaxing.chen <[email protected]>2021-01-25 11:42:10 +0800
committeryaxing.chen <[email protected]>2021-01-25 11:42:10 +0800
commitc38e2bc6ec85310ec4ba63c0d637f9ada474824c (patch)
tree947191628366d57ddc42e8a191b13570e0f820f6
parenta77e99f7c226f0ad8bfc057fbcbe838b069e56e3 (diff)
update uvprojx file path to abspath
-rw-r--r--tools/eclipse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eclipse.py b/tools/eclipse.py
index 0d8d465cbc..c1cd3c6623 100644
--- a/tools/eclipse.py
+++ b/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 = ""