1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Fix ABS >= 4.3.0

This commit is contained in:
Daniel Martí 2013-04-22 17:53:50 +02:00
parent 96ee85bc86
commit 98b7452d95

View File

@ -920,6 +920,9 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
'https://github.com/JakeWharton/ActionBarSherlock.git', sdir, sdk_path)
vcs.gotorevision(ref)
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'),
'update', 'project', '-p',
libdir]) != 0: