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

Dumb mistake fixes

This commit is contained in:
Daniel Martí 2013-03-26 14:34:04 +01:00
parent 1608f3e4a8
commit 95a70d0e0e

View File

@ -912,10 +912,12 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
'https://github.com/Chainfire/libsuperuser', sdir, sdk_path)
vcs.gotorevision(ref)
libdir = os.path.join(sdir, 'libsuperuser')
if basepath:
return sdir
return libdir
if name == 'AndroidUtils':
sdir = os.path.join(extlib_dir, 'libsuperuser')
sdir = os.path.join(extlib_dir, 'AndroidUtils')
vcs = getvcs('git',
'https://github.com/yuriykulikov/AndroidUtils', sdir, sdk_path)
vcs.gotorevision(ref)