1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01: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) '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: