On Monday 01 October 2007, Alin Năstac wrote: > Donnie Berkholz wrote: > > On 11:30 Sun 30 Sep , Alin Nastac (mrness) wrote: > >> 1.1 mail-filter/dspam/dspam-3.8.0-r7.ebuild > >> > >> file : > >> http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dspam/dspam- > >>3.8.0-r7.ebuild?rev=1.1&view=markup plain: > >> http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dspam/dspam- > >>3.8.0-r7.ebuild?rev=1.1&content-type=text/plain if use mysql || use > >> postgres ; then > >> myconf="${myconf} --enable-preferences-extension" > >> fi > > > > I think you could use use_enable() or use_with() for many of these. > > > > $(use mysql || use postgres && use_enable virtual-users) > > According to bash manual, && has a greater precedence than ||. That > would translate in:
i think i buy into Don Libes' philosophy ... use proper parentheses and operator precedence be damned ... if you have to look up the relationship of operators to make sure things are kosher, then chances are someone else wont and will screw it up. whatever precedence language $x has, chances are it wont match exactly language $y, so break out the () loving. -mike
signature.asc
Description: This is a digitally signed message part.