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

Raise exception if the given NDK was not found

Seen in

https://monitor.f-droid.org/builds/log/io.nekohasekai.sagernet/635#site-footer
This commit is contained in:
Jochen Sprickerhof 2021-12-01 07:45:03 +01:00
parent 60cf72a462
commit 2933880590

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(