From 594f4b33b3083991a6da556f814e17fda9a4f1f9 Mon Sep 17 00:00:00 2001 From: Tomas Mozes Date: Mon, 16 Oct 2017 14:30:49 +0200 Subject: [PATCH] app-emulation/xen-tools: fix bashism Closes: https://github.com/gentoo/gentoo/pull/5962 Signed-off-by: Yixun Lan --- app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild index 235f97cb4932..1aac5f357a39 100644 --- a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild @@ -324,6 +324,10 @@ src_prepare() { sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ -i tools/hotplug/Linux/init.d/xencommons.in || die + # fix bashishm + sed -e '/Usage/s/\$//g' \ + -i tools/hotplug/Linux/init.d/xendriverdomain.in || die + # respect multilib, usr/lib/libcacard.so.0.0.0 sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \ -i tools/qemu-xen/configure || die -- 2.26.2