summaryrefslogtreecommitdiff
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 4e4e964a2..59b58f440 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -173,6 +173,7 @@ def archive_sources(d,stage_name):
file = get_source_from_downloads(d,stage_name)
if file:
shutil.copy(file,work_dir)
+ file = os.path.basename(file)
else:
file = archive_sources_from_directory(d,stage_name)
return file