diff options
author | Matthias Maier <tamiko@gentoo.org> | 2015-10-03 12:59:12 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2015-10-03 13:16:12 -0500 |
commit | d49be3cdca529511f81110a56c428045620fc46a (patch) | |
tree | b6ef3bd2291e3774b91b7c68f990a0971630749e /app-emulation | |
parent | dev-ruby/syntax: Stable for HPPA (bug #562098). (diff) | |
download | gentoo-d49be3cdca529511f81110a56c428045620fc46a.tar.gz gentoo-d49be3cdca529511f81110a56c428045620fc46a.tar.bz2 gentoo-d49be3cdca529511f81110a56c428045620fc46a.zip |
app-emulation/libvirt: Avoid bashism in runscript, bug 561386
Thanks to Lars Wendler and Alexander Tsoy.
Gentoo-Bug: 561386
Package-Manager: portage-2.2.22
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/libvirt/files/libvirt-guests.init-r1 (renamed from app-emulation/libvirt/files/libvirt-guests.init) | 8 | ||||
-rw-r--r-- | app-emulation/libvirt/libvirt-1.2.19-r1.ebuild (renamed from app-emulation/libvirt/libvirt-1.2.19.ebuild) | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/app-emulation/libvirt/files/libvirt-guests.init b/app-emulation/libvirt/files/libvirt-guests.init-r1 index c38a0f005a9f..a8d65f894bab 100644 --- a/app-emulation/libvirt/files/libvirt-guests.init +++ b/app-emulation/libvirt/files/libvirt-guests.init-r1 @@ -184,10 +184,8 @@ start() { # start networks ebegin "Starting libvirt networks" - while read -r line + while read -r uri uuid do - # tokenize the data - read -r uri uuid <<<"${line}" # ignore trash [ -z "${uri}" ] || [ -z "${uuid}" ] && continue @@ -199,10 +197,8 @@ start() { # start domains ebegin "Starting libvirt domains" - while read -r line + while read -r uri uuid do - # tokenize the data - read -r uri uuid <<<"${line}" # ignore trash [ -z "${uri}" ] || [ -z "${uuid}" ] && continue diff --git a/app-emulation/libvirt/libvirt-1.2.19.ebuild b/app-emulation/libvirt/libvirt-1.2.19-r1.ebuild index 55fb80d79933..e6029ed9a228 100644 --- a/app-emulation/libvirt/libvirt-1.2.19.ebuild +++ b/app-emulation/libvirt/libvirt-1.2.19-r1.ebuild @@ -450,7 +450,7 @@ src_install() { systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf newinitd "${S}/libvirtd.init" libvirtd || die - newinitd "${FILESDIR}/libvirt-guests.init" libvirt-guests || die + newinitd "${FILESDIR}/libvirt-guests.init-r1" libvirt-guests || die newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die |