require build-tools that fully supports apksigner

This commit is contained in:
Hans-Christoph Steiner 2020-10-14 18:44:25 +02:00
parent 501a33f117
commit 989159ef09
2 changed files with 3 additions and 2 deletions

View file

@ -78,7 +78,7 @@ class CommonTest(unittest.TestCase):
for f in sorted(os.listdir(build_tools), reverse=True):
versioned = os.path.join(build_tools, f)
if os.path.isdir(versioned) \
and os.path.isfile(os.path.join(versioned, 'aapt')):
and os.path.isfile(os.path.join(versioned, 'apksigner')):
fdroidserver.common.config['build_tools'] = versioned
break
return True