1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

tweak pulltorefresh srclib

This commit is contained in:
David Black 2012-10-15 22:22:26 +01:00
parent 3958c33a98
commit 94acf0ed2b

View File

@ -1140,14 +1140,7 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
vcs = getvcs('git', vcs = getvcs('git',
'https://github.com/chrisbanes/Android-PullToRefresh.git', sdir, sdk_path) 'https://github.com/chrisbanes/Android-PullToRefresh.git', sdir, sdk_path)
vcs.gotorevision(ref) vcs.gotorevision(ref)
libdir = os.path.join(sdir, 'library') return sdir
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
'update', 'project', '-p',
libdir]) != 0:
raise BuildException('Error updating PullToRefresh project')
if basepath:
return sdir
return libdir
if name == 'TessTwo': if name == 'TessTwo':
sdir = os.path.join(extlib_dir, 'TessTwo') sdir = os.path.join(extlib_dir, 'TessTwo')