1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Forgot a couple continues

This commit is contained in:
Daniel Martí 2013-12-06 21:31:47 +01:00
parent f0b66cee92
commit ae0ca52557

View File

@ -84,6 +84,7 @@ def read_config(opts, config_file='config.py'):
for key in ('mvn3', 'gradle'): for key in ('mvn3', 'gradle'):
if key not in config: if key not in config:
print "WARNING: %s not set in config" % key print "WARNING: %s not set in config" % key
continue
val = config[key] val = config[key]
executable = find_executable(val) executable = find_executable(val)
if not executable: if not executable:
@ -94,6 +95,7 @@ def read_config(opts, config_file='config.py'):
for key in ('sdk_path', 'ndk_path', 'build_tools'): for key in ('sdk_path', 'ndk_path', 'build_tools'):
if key not in config: if key not in config:
print "WARNING: %s not set in config" % key print "WARNING: %s not set in config" % key
continue
val = config[key] val = config[key]
if key == 'build_tools': if key == 'build_tools':
val = os.path.join(config['sdk_path'], 'build-tools', val) val = os.path.join(config['sdk_path'], 'build-tools', val)