doins: use read -r
authorUlrich Müller <ulm@gentoo.org>
Wed, 29 Dec 2010 18:11:21 +0000 (10:11 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 29 Dec 2010 18:11:21 +0000 (10:11 -0800)
This will fix bug #350045.

bin/ebuild-helpers/doins

index bbc4e97b6b3a3e8ae8c58440b88a8266e653bb5c..51cac06b443dedf9863f831bfa2c8e5d4d506662 100755 (executable)
@@ -64,7 +64,7 @@ _doins() {
 
 _xdoins() {
        local -i failed=0
-       while read -d $'\0' x ; do
+       while read -r -d $'\0' x ; do
                _doins "$x" "${x%/*}"
                ((failed|=$?))
        done