On Sun, 22 Nov 2015 20:50:44 +0100 Michał Górny <mgo...@gentoo.org> wrote:
> --- > eclass/python-utils-r1.eclass | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass > index 0a04e12..201b0c4 100644 > --- a/eclass/python-utils-r1.eclass > +++ b/eclass/python-utils-r1.eclass > @@ -1038,12 +1038,12 @@ python_fix_shebang() { > local shebang i > local error= from= > > - IFS= read -r shebang <"${f}" > + IFS= read -r shebang <"${f}" || die This gives failure for empty files. We need to revert it, and possibly find a better way of distinguishing I/O failure from 'no input' error. -- Best regards, Michał Górny <http://dev.gentoo.org/~mgorny/>
pgpMOLK6jXsLw.pgp
Description: OpenPGP digital signature