From 09fcdba59720433bcc1cb6877a699ff0faa17c90 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Fri, 28 Sep 2018 22:56:38 +0000 Subject: [PATCH] Fix detection of an aport in multiple subfolders --- pmb/build/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/build/other.py b/pmb/build/other.py index b41d4813..39b9ea1c 100644 --- a/pmb/build/other.py +++ b/pmb/build/other.py @@ -49,7 +49,7 @@ def find_aport(args, package, must_exist=True): # Search in packages paths = glob.glob(args.aports + "/*/" + package) - if len(paths) > 2: + if len(paths) > 1: raise RuntimeError("Package " + package + " found in multiple" " aports subfolders. Please put it only in one" " folder.")