summaryrefslogtreecommitdiffstats
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 () {
997 seen.append(p) 997 seen.append(p)
998 998
999 def mkdir_recurse(src, dest, paths): 999 def mkdir_recurse(src, dest, paths):
1000 if os.path.exists(dest + '/' + paths):
1001 return
1000 while paths.startswith("./"): 1002 while paths.startswith("./"):
1001 paths = paths[2:] 1003 paths = paths[2:]
1002 p = "." 1004 p = "."