Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] eclass/tests/tests-common.sh: debug-print family of functions
Date: Sun, 10 Oct 2010 18:10:20
Message-Id: AANLkTinv9+7pF=tD=VNk264B37QzcPoeLz62o0_3w6fa@mail.gmail.com
In Reply to: Re: [gentoo-dev] eclass/tests/tests-common.sh: debug-print family of functions by "Michał Górny"
1 On Sun, Oct 10, 2010 at 3:36 AM, Michał Górny wrote:
2 > On Sat, 9 Oct 2010 17:33:41 -0400 Mike Frysinger wrote:
3 >> On Saturday, October 09, 2010 11:16:38 Michał Górny wrote:
4 >> > +           if [[ ${ECLASS_DEBUG_OUTPUT} = on ]]; then
5 >>
6 >> if you're going to use [[]], then also use ==
7 >
8 > Pointless. == implies pattern matching.
9
10 not really. the point of using == is to avoid confusion of assignment
11 which = implies.
12 -mike