Fix a buildjni regression

This commit is contained in:
Daniel Martí 2014-02-17 12:58:28 +01:00
parent aa4fec9ca1
commit 63d7cbee9f
2 changed files with 2 additions and 2 deletions

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']:

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...