Summary: | app-emulation/libvirt-1.2.19: /lib64/rc/sh/gendepends.sh: 190: /etc/init.d/libvirt-guests: Syntax error: redirection unexpected | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, dustin, tamiko |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2015-09-24 14:11:34 UTC
# ls -l /bin/sh lrwxrwxrwx 1 root root 4 Sep 18 10:02 /bin/sh -> dash What's the point of running read twice? while read -r line do # tokenize the data read -r uri uuid <<<"${line}" ... snip ... done <"${somefile}" Why not just while read -r uri uuid do ... snip ... done <"${somefile}" ? commit d49be3cdca529511f81110a56c428045620fc46a Author: Matthias Maier <tamiko@gentoo.org> Date: Sat Oct 3 12:59:12 2015 -0500 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 |