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:
parent
3958c33a98
commit
94acf0ed2b
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user