Hi,

> > > >  > I would like to purpose a better solution for this.
> >  > >  >
> >  > >  > In /usr/bin/dpatch,
> >  > >  >
> >  > >  >    if [ "${BASH_VERSINFO[0]}" -ge 3 ]; then
> >  > >  >       set -o pipefail
> >  > >  >    fi
> >  > >
> >  > >  No, that's unacceptable, that changes behavior.
> >  >
> >  > It changes the behavior in what way?
> >
> >
> > Hmm? You are making 'pipefail' conditional, it should be obvious.
> >
> 
> So, it will at least work in bash2 that not support pipefail.

Work as in does not check for errors.
You have not yet explained why you need to use bash2 at all.

> Hmm, to be more obvious, then,
> 
>    set -e
>    set -o pipefail || true

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to