]> code.ossystems Code Review - openembedded-core.git/commit
perl: fix installation failure because of shell issue
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 11 Dec 2020 14:28:18 +0000 (17:28 +0300)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 22 Dec 2020 01:39:41 +0000 (09:39 +0800)
commit784ca95f7e3a816be9c9782944fa49b896d58690
tree5f15f351543ff8373745630c56e394ec03aea7c7
parent27b2aca75af2d0df9b6d63ff0368b6cb02e6b52f
perl: fix installation failure because of shell issue

On one of my buildservers I noticed perl do_install failing with the
following message:

| rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory

I tracked this down to shell being dash rather than bash not being able
to expand this glob in the middle of the filename. So replace the glob
expansion with the simpler one which works in all cases.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1ea1b5c12120abdd085dc4eb69120af9258a99b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/perl/perl_5.32.0.bb