mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Small logic fix in Update Project:
This commit is contained in:
parent
1e216f7f46
commit
20aa416a4b
@ -848,7 +848,7 @@ def getsrclib(spec, srclib_dir, srclibpaths=[], subdir=None, target=None,
|
||||
raise BuildException("Error running prepare command for srclib %s"
|
||||
% name, p.stdout)
|
||||
|
||||
if srclib["Update Project"] == "Yes" and autoupdate and not number:
|
||||
if srclib["Update Project"] == "Yes" and not (autoupdate and number):
|
||||
print "Updating srclib %s at path %s" % (name, libdir)
|
||||
cmd = [os.path.join(config['sdk_path'], 'tools', 'android'),
|
||||
'update', 'project', '-p', libdir]
|
||||
|
Loading…
Reference in New Issue
Block a user