summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 4e4e964a24..59b58f4403 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -173,6 +173,7 @@ def archive_sources(d,stage_name):
173 file = get_source_from_downloads(d,stage_name) 173 file = get_source_from_downloads(d,stage_name)
174 if file: 174 if file:
175 shutil.copy(file,work_dir) 175 shutil.copy(file,work_dir)
176 file = os.path.basename(file)
176 else: 177 else:
177 file = archive_sources_from_directory(d,stage_name) 178 file = archive_sources_from_directory(d,stage_name)
178 return file 179 return file