1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Merge branch 'fix_ndk_not_found' into 'master'

Raise exception if the given NDK was not found

See merge request fdroid/fdroidserver!1054
This commit is contained in:
Hans-Christoph Steiner 2021-12-03 10:07:43 +00:00
commit 0fb772fb8c

View File

@ -4302,6 +4302,8 @@ def _install_ndk(ndk):
url = ndkdict['url']
sha256 = ndkdict['sha256']
break
else:
raise FDroidException("NDK %s not found" % ndk)
ndk_base = os.path.join(config['sdk_path'], 'ndk')
logging.info(_('Downloading %s') % url)
zipball = os.path.join(