Fix a buildjni regression

This commit is contained in:
Daniel Martí committed 2014-02-17 13:04:39 +01:00
1 parent aa4fec9ca1
commit 63d7cbee9f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -457,7 +457,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
(app['id'], thisbuild['version']), p.stdout)
# Build native stuff if required...
if thisbuild.get('buildjni') not in (None, 'no'):
if thisbuild.get('buildjni') not in (None, ['no']):
logging.info("Building native libraries...")
jni_components = thisbuild.get('buildjni')
if jni_components == ['yes']:
+1 -1
View File
@@ -286,7 +286,7 @@ def main():
if options.subdir:
build['subdir'] = options.subdir
if os.path.exists(os.path.join(root_dir, 'jni')):
build['buildjni'] = 'yes'
build['buildjni'] = ['yes']
app['builds'].append(build)
# Keep the repo directory to save bandwidth...