diff --git a/fdroidserver/common.py b/fdroidserver/common.py index cc922a32..195523f8 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1324,7 +1324,7 @@ def getsrclib(spec, srclib_dir, srclibpaths=[], subdir=None, basepath=False, libdir = None if subdir is not None: - libdir = subdir + libdir = os.path.join(sdir, subdir) elif srclib["Subdir"] is not None: for subdir in srclib["Subdir"]: libdir_candidate = os.path.join(sdir, subdir)