[tools] fix the SDK package path issue

This commit is contained in:
bernard 2024-08-03 10:22:29 +08:00 committed by Rbb666
parent 59f1146fae
commit 4633200e98
1 changed files with 1 additions and 1 deletions

View File

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