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

Fix srclib subdir paths

This commit is contained in:
Daniel Martí 2013-11-16 12:54:23 +01:00
parent b6eefb2d5d
commit 64a7a5149e

View File

@ -1324,7 +1324,7 @@ def getsrclib(spec, srclib_dir, srclibpaths=[], subdir=None, basepath=False,
libdir = None libdir = None
if subdir is not None: if subdir is not None:
libdir = subdir libdir = os.path.join(sdir, subdir)
elif srclib["Subdir"] is not None: elif srclib["Subdir"] is not None:
for subdir in srclib["Subdir"]: for subdir in srclib["Subdir"]:
libdir_candidate = os.path.join(sdir, subdir) libdir_candidate = os.path.join(sdir, subdir)