1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02: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',
'https://github.com/chrisbanes/Android-PullToRefresh.git', sdir, sdk_path)
vcs.gotorevision(ref)
libdir = os.path.join(sdir, 'library')
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
return sdir
if name == 'TessTwo':
sdir = os.path.join(extlib_dir, 'TessTwo')