summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <tmozes@sygic.com>2017-10-16 14:30:49 +0200
committerYixun Lan <dlan@gentoo.org>2017-10-17 15:24:31 +0800
commit594f4b33b3083991a6da556f814e17fda9a4f1f9 (patch)
tree256d34e2b90af3d9c0910663f4dd5e28a8840069 /app-emulation
parentapp-emulation/xen-tools: improve documentation building (diff)
downloadgentoo-594f4b33b3083991a6da556f814e17fda9a4f1f9.tar.gz
gentoo-594f4b33b3083991a6da556f814e17fda9a4f1f9.tar.bz2
gentoo-594f4b33b3083991a6da556f814e17fda9a4f1f9.zip
app-emulation/xen-tools: fix bashism
Closes: https://github.com/gentoo/gentoo/pull/5962 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
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