summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):
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