1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

jni problem is critical, so make it an error

This commit is contained in:
Daniel Martí 2014-06-08 00:38:11 +02:00
parent b86bfb94fb
commit 7d8e9bbcaa

View File

@ -1411,7 +1411,7 @@ def scan_source(build_dir, root_dir, thisbuild):
# buildjni=no to bypass this check) # buildjni=no to bypass this check)
if (os.path.exists(os.path.join(root_dir, 'jni')) and if (os.path.exists(os.path.join(root_dir, 'jni')) and
not thisbuild['buildjni']): not thisbuild['buildjni']):
logging.warn('Found jni directory, but buildjni is not enabled') logging.error('Found jni directory, but buildjni is not enabled')
count += 1 count += 1
return count return count