diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-29 10:28:25 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-30 22:16:57 -0800 |
commit | 2d36ccae3e834632a69d1f51e627722d7af0b16c (patch) | |
tree | c1b651a857c000be5263e8920b6b7cc2fba7b560 /bin/ebuild.sh | |
parent | 1d941aed8d1fee3ae3592ada2f87b6b701d8de8c (diff) | |
download | portage-2d36ccae3e834632a69d1f51e627722d7af0b16c.tar.gz portage-2d36ccae3e834632a69d1f51e627722d7af0b16c.tar.bz2 portage-2d36ccae3e834632a69d1f51e627722d7af0b16c.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 |