summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/recipeutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/recipeutils.py')
-rw-r--r--meta/lib/oe/recipeutils.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 58e4028aed..6caae5f7d4 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -786,7 +786,11 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False,
786 for newfile, srcfile in copyfiles.items(): 786 for newfile, srcfile in copyfiles.items():
787 filedest = os.path.join(appenddir, destsubdir, os.path.basename(srcfile)) 787 filedest = os.path.join(appenddir, destsubdir, os.path.basename(srcfile))
788 if os.path.abspath(newfile) != os.path.abspath(filedest): 788 if os.path.abspath(newfile) != os.path.abspath(filedest):
789 bb.note('Copying %s to %s' % (newfile, filedest)) 789 if newfile.startswith(tempfile.gettempdir()):
790 newfiledisp = os.path.basename(newfile)
791 else:
792 newfiledisp = newfile
793 bb.note('Copying %s to %s' % (newfiledisp, filedest))
790 bb.utils.mkdirhier(os.path.dirname(filedest)) 794 bb.utils.mkdirhier(os.path.dirname(filedest))
791 shutil.copyfile(newfile, filedest) 795 shutil.copyfile(newfile, filedest)
792 796