diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-29 10:28:25 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-29 10:28:25 -0800 |
commit | 1bed4ba3bbc019ee267a37bc28109e4e3deb3af3 (patch) | |
tree | 7b2b789e77758eb72238bd72722b9722f12f674e /bin/ebuild.sh | |
parent | f4e2a596a3b4bfb22d7910e7eb3fff4a5c31fad5 (diff) | |
download | portage-1bed4ba3bbc019ee267a37bc28109e4e3deb3af3.tar.gz portage-1bed4ba3bbc019ee267a37bc28109e4e3deb3af3.tar.bz2 portage-1bed4ba3bbc019ee267a37bc28109e4e3deb3af3.zip |
bash: as a general rule, use read -r
This solves cases like bug #350045.
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4daa07610..e88f0158d 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -504,7 +504,7 @@ econf() { if [ -e /usr/share/gnuconfig/ ]; then find "${WORKDIR}" -type f '(' \ -name config.guess -o -name config.sub ')' -print0 | \ - while read -d $'\0' x ; do + while read -r -d $'\0' x ; do vecho " * econf: updating ${x/${WORKDIR}\/} with /usr/share/gnuconfig/${x##*/}" cp -f /usr/share/gnuconfig/"${x##*/}" "${x}" done @@ -1324,7 +1324,7 @@ inherit() { echo "QA Notice: EXPORT_FUNCTIONS is called before inherit in" \ "$ECLASS.eclass. For compatibility with <=portage-2.1.6.7," \ "only call EXPORT_FUNCTIONS after inherit(s)." \ - | fmt -w 75 | while read ; do eqawarn "$REPLY" ; done + | fmt -w 75 | while read -r ; do eqawarn "$REPLY" ; done fi local location |