浏览代码

[tools] fix the SDK package path issue

bernard 1 年之前
父节点
当前提交
4633200e98
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/env_utility.py

+ 1 - 1
tools/env_utility.py

@@ -59,7 +59,7 @@ def GetSDKPath(name):
                     package = json.load(f)
 
                     if package['name'] == name:
-                        return os.path.join(GetPkgPath(), package['name'] + '-' + item['ver'])
+                        return os.path.join(env, 'tools', 'packages', package['name'] + '-' + item['ver'])
 
     # not found named package
     return None