projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c225f1b
)
app-emulation/xen-tools: fix bashism
author
Tomas Mozes
<tmozes@sygic.com>
Mon, 16 Oct 2017 12:30:49 +0000
(14:30 +0200)
committer
Yixun Lan
<dlan@gentoo.org>
Tue, 17 Oct 2017 07:24:31 +0000
(15:24 +0800)
Closes: https://github.com/gentoo/gentoo/pull/5962
Signed-off-by: Yixun Lan <dlan@gentoo.org>
app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
patch
|
blob
|
history
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 235f97cb4932e65236baa973d4ea0f76e0c06e6b..1aac5f357a39aa5de9415257c1c5839b039af4a4 100644
(file)
--- 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