diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/archiver.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index efd413bdc4..35e541194c 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
@@ -136,7 +136,7 @@ python do_ar_original() { | |||
136 | bb.note('Archiving the original source...') | 136 | bb.note('Archiving the original source...') |
137 | fetch = bb.fetch2.Fetch([], d) | 137 | fetch = bb.fetch2.Fetch([], d) |
138 | for url in fetch.urls: | 138 | for url in fetch.urls: |
139 | local = fetch.localpath(url) | 139 | local = fetch.localpath(url).rstrip("/"); |
140 | if os.path.isfile(local): | 140 | if os.path.isfile(local): |
141 | shutil.copy(local, ar_outdir) | 141 | shutil.copy(local, ar_outdir) |
142 | elif os.path.isdir(local): | 142 | elif os.path.isdir(local): |