From 1bed4ba3bbc019ee267a37bc28109e4e3deb3af3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 29 Dec 2010 10:28:25 -0800 Subject: bash: as a general rule, use read -r This solves cases like bug #350045. --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22