Hi,
Work as in does not check for errors.
You have not yet explained why you need to use bash2 at all.
1. classic reason: for old system
2. why need to upgrade to bash3?
However, this does not mean that you should support bash2.
It is just a wishlist from bash2
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.
1. classic reason: for old system
2. why need
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'
package dpatch
severity 472945 wishlist
retitle 472945 dpatch: ignore set -o pipefail when not available in bash2
thanks
On 4/1/08, Junichi Uekawa [EMAIL PROTECTED] wrote:
I would like to purpose a better solution for this.
In /usr/bin/dpatch,
if [
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?
Why do you want to use such an old
tags 472945 - patch
thanks
Hi,
package dpatch
retitle 472945 dpatch: check bash version before set -o pipefail
tags 472945 + patch
thanks
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
7 matches
Mail list logo