mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
Use latest build-tools version
This commit is contained in:
parent
9c8e128064
commit
635f12e438
1 changed files with 3 additions and 0 deletions
|
@ -585,6 +585,9 @@ def find_sdk_tools_cmd(cmd):
|
|||
sdk_platform_tools = os.path.join(config['sdk_path'], 'platform-tools')
|
||||
if os.path.exists(sdk_platform_tools):
|
||||
tooldirs.append(sdk_platform_tools)
|
||||
sdk_build_tools = glob.glob(os.path.join(config['sdk_path'], 'build-tools', '*.*'))
|
||||
if sdk_build_tools:
|
||||
tooldirs.append(sorted(sdk_build_tools)[-1]) # use most recent version
|
||||
if os.path.exists('/usr/bin'):
|
||||
tooldirs.append('/usr/bin')
|
||||
for d in tooldirs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue