mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Fix crash in 'fdroid import'
This commit is contained in:
parent
0f6cb94041
commit
fcface673e
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue