mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Fix ABS >= 4.3.0
This commit is contained in:
parent
96ee85bc86
commit
98b7452d95
1 changed files with 3 additions and 0 deletions
|
|
@ -920,6 +920,9 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||||
'https://github.com/JakeWharton/ActionBarSherlock.git', sdir, sdk_path)
|
'https://github.com/JakeWharton/ActionBarSherlock.git', sdir, sdk_path)
|
||||||
vcs.gotorevision(ref)
|
vcs.gotorevision(ref)
|
||||||
libdir = os.path.join(sdir, 'library')
|
libdir = os.path.join(sdir, 'library')
|
||||||
|
# For latest ABS releases
|
||||||
|
if not os.path.exists(libdir):
|
||||||
|
libdir = os.path.join(sdir, 'actionbarsherlock')
|
||||||
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||||
'update', 'project', '-p',
|
'update', 'project', '-p',
|
||||||
libdir]) != 0:
|
libdir]) != 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue