summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 59b78878ba..648b7467fb 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -396,7 +396,8 @@ python populate_packages () {
newfiles = [ os.path.join(file,x) for x in os.listdir(file) ]
if newfiles:
files += newfiles
- cleandirs = [file] + cleandirs
+ if file != "./":
+ cleandirs = [file] + cleandirs
continue
globbed = glob.glob(file)
if globbed: