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:
parent
0f6cb94041
commit
fcface673e
@ -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...
|
||||||
|
Loading…
Reference in New Issue
Block a user