[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: bashisms in configure script



On Tue, 25 May 2010, Peter Samuelson wrote:
> And more false positives:
> 
> possible bashism in ./configure line 44 ($BASH_SOMETHING):
> if test -z "$BASH_VERSION$ZSH_VERSION" \
>     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
> possible bashism in ./configure line 367 (should be >word 2>&1):
>     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
> 
> Both were produced by autoconf 2.65.
> 
> First is a false positive for the same reason Kurt's example is.
> Second is a false positive because $3 in this instance is a numbered
> file descriptor.

Same goes for dpkg, it only has those two warnings.

Cheers,
-- 
Raphaël Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/


Reply to: