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

Fix crash in 'fdroid import'

This commit is contained in:
Daniel Martí 2014-06-15 12:30:03 +02:00
parent 0f6cb94041
commit fcface673e

View File

@ -294,6 +294,12 @@ def main():
build['subdir'] = options.subdir build['subdir'] = options.subdir
if os.path.exists(os.path.join(root_dir, 'jni')): if os.path.exists(os.path.join(root_dir, 'jni')):
build['buildjni'] = ['yes'] build['buildjni'] = ['yes']
for flag, value in metadata.flag_defaults.iteritems():
if flag in build:
continue
build[flag] = value
app['builds'].append(build) app['builds'].append(build)
# Keep the repo directory to save bandwidth... # Keep the repo directory to save bandwidth...