summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 41139ef921..10c2f0a3ee 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -917,6 +917,9 @@ python populate_packages () {
917 files = filesvar.split() 917 files = filesvar.split()
918 file_links = {} 918 file_links = {}
919 for file in files: 919 for file in files:
920 if file.find("//") != -1:
921 bb.warn("FILES variable for package %s contains '//' which is invalid. Attempting to fix this but you should correct the metadata.\n" % pkg)
922 file.replace("//", "/")
920 if os.path.isabs(file): 923 if os.path.isabs(file):
921 file = '.' + file 924 file = '.' + file
922 if not os.path.islink(file): 925 if not os.path.islink(file):