mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Small logic fix in Update Project:
This commit is contained in:
parent
1e216f7f46
commit
20aa416a4b
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@ def getsrclib(spec, srclib_dir, srclibpaths=[], subdir=None, target=None,
|
||||||
raise BuildException("Error running prepare command for srclib %s"
|
raise BuildException("Error running prepare command for srclib %s"
|
||||||
% name, p.stdout)
|
% 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)
|
print "Updating srclib %s at path %s" % (name, libdir)
|
||||||
cmd = [os.path.join(config['sdk_path'], 'tools', 'android'),
|
cmd = [os.path.join(config['sdk_path'], 'tools', 'android'),
|
||||||
'update', 'project', '-p', libdir]
|
'update', 'project', '-p', libdir]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue