summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 0f11ba9e5f..8b256cf4ce 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -997,6 +997,8 @@ python populate_packages () {
seen.append(p)
def mkdir_recurse(src, dest, paths):
+ if os.path.exists(dest + '/' + paths):
+ return
while paths.startswith("./"):
paths = paths[2:]
p = "."