diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 614fcd18..a935e5c2 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1729,6 +1729,9 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False): 'update', 'project', '-p', libdir]) != 0: raise BuildException('Error updating MenuDrawer project') + if basepath: + return sdir + return libdir if name == 'ImageLoader': sdir = os.path.join(extlib_dir, 'ImageLoader')