]> code.ossystems Code Review - openembedded-core.git/commit
rpm: brace expansion is a bashism
authorRoss Burton <ross.burton@intel.com>
Wed, 6 Apr 2016 12:20:29 +0000 (13:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Apr 2016 07:05:12 +0000 (08:05 +0100)
commit0edd06d15d2501ed0961681b56ecbb4ca5e75647
tree70005d31449ea444463f6101242d492e9a895687
parent3f81b516e2f23683ce6129bb79bcc08263cb7fe1
rpm: brace expansion is a bashism

The constuct rm *.{a,la} is a bashism and as tasks are run under /bin/sh this
may not work as expected.  Expand the {a,la} to two separate calls, and remove
the architecture-specific macro deletion as they are not installed in the first
place anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
meta/recipes-devtools/rpm/rpm_5.4.16.bb