diff options
| -rw-r--r-- | meta/classes/archiver.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index aa741463d7..37a21fe61b 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
| @@ -378,8 +378,8 @@ python do_ar_recipe () { | |||
| 378 | bbappend_files = d.getVar('BBINCLUDED').split() | 378 | bbappend_files = d.getVar('BBINCLUDED').split() |
| 379 | # If recipe name is aa, we need to match files like aa.bbappend and aa_1.1.bbappend | 379 | # If recipe name is aa, we need to match files like aa.bbappend and aa_1.1.bbappend |
| 380 | # Files like aa1.bbappend or aa1_1.1.bbappend must be excluded. | 380 | # Files like aa1.bbappend or aa1_1.1.bbappend must be excluded. |
| 381 | bbappend_re = re.compile( r".*/%s_[^/]*\.bbappend$" %pn) | 381 | bbappend_re = re.compile( r".*/%s_[^/]*\.bbappend$" % re.escape(pn)) |
| 382 | bbappend_re1 = re.compile( r".*/%s\.bbappend$" %pn) | 382 | bbappend_re1 = re.compile( r".*/%s\.bbappend$" % re.escape(pn)) |
| 383 | for file in bbappend_files: | 383 | for file in bbappend_files: |
| 384 | if bbappend_re.match(file) or bbappend_re1.match(file): | 384 | if bbappend_re.match(file) or bbappend_re1.match(file): |
| 385 | shutil.copy(file, outdir) | 385 | shutil.copy(file, outdir) |
