1 |
commit: 594f4b33b3083991a6da556f814e17fda9a4f1f9 |
2 |
Author: Tomas Mozes <tmozes <AT> sygic <DOT> com> |
3 |
AuthorDate: Mon Oct 16 12:30:49 2017 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 17 07:24:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594f4b33 |
7 |
|
8 |
app-emulation/xen-tools: fix bashism |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/5962 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild | 4 ++++ |
14 |
1 file changed, 4 insertions(+) |
15 |
|
16 |
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 |
17 |
index 235f97cb493..1aac5f357a3 100644 |
18 |
--- a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild |
19 |
+++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild |
20 |
@@ -324,6 +324,10 @@ src_prepare() { |
21 |
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ |
22 |
-i tools/hotplug/Linux/init.d/xencommons.in || die |
23 |
|
24 |
+ # fix bashishm |
25 |
+ sed -e '/Usage/s/\$//g' \ |
26 |
+ -i tools/hotplug/Linux/init.d/xendriverdomain.in || die |
27 |
+ |
28 |
# respect multilib, usr/lib/libcacard.so.0.0.0 |
29 |
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \ |
30 |
-i tools/qemu-xen/configure || die |