Browse Source

[tools] fix the SDK package path issue

bernard 1 year ago
parent
commit
4633200e98
1 changed files with 1 additions and 1 deletions
  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