[yocto] [meta-baryon][PATCH] webmin: fix dash incompatibility in do_configure

Kevin Strasser kevin.strasser at linux.intel.com
Mon Jul 16 11:08:48 PDT 2012


The use of brackets was causing dash to skip over the removal of
several unwanted files. The presence of these files was causing an
exception during packaging.

Signed-off-by: Kevin Strasser <kevin.strasser at linux.intel.com>
---
 recipes-extended/webmin/webmin_1.570.bb |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes-extended/webmin/webmin_1.570.bb b/recipes-extended/webmin/webmin_1.570.bb
index 150d920..63a1ed2 100644
--- a/recipes-extended/webmin/webmin_1.570.bb
+++ b/recipes-extended/webmin/webmin_1.570.bb
@@ -33,9 +33,10 @@ inherit allarch perlnative update-rc.d
 do_configure() {
     # Remove binaries and plugins for other platforms
     rm -rf acl/Authen-SolarisRBAC-0.1*
-    rm -rf {format,{bsd,hpux,sgi}exports,zones,rbac,smf,ipfw,ipfilter,dfsadmin}
-    rm -f mount/{free,net,open}bsd-mounts*
-    rm -f mount/macos-mounts*
+    rm -rf format bsdexports hpuxexports sgiexports
+    rm -rf zones rbac smf ipfw ipfilter dfsadmin
+    rm -f mount/freebsd-mounts* mount/netbsd-mounts*
+    rm -f mount/openbsd-mounts* mount/macos-mounts*
 
     # Remove some plugins for the moment
     rm -rf lilo frox wuftpd telnet pserver cpan shorewall webalizer cfengine fsdump pap
-- 
1.7.9.5




More information about the yocto mailing list