From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9824 invoked from network); 19 Jul 2004 17:46:54 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 19 Jul 2004 17:46:54 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1BmcE1-0000pN-6z for arch-gentoo-dev@lists.gentoo.org; Mon, 19 Jul 2004 17:46:53 +0000 Received: (qmail 2685 invoked by uid 89); 19 Jul 2004 17:46:52 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 27185 invoked from network); 19 Jul 2004 17:46:52 +0000 Date: Mon, 19 Jul 2004 18:44:24 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Message-Id: <20040719184424.18122f2f@snowdrop.home> In-Reply-To: <20040719173349.GA26225@earwig.bogus> References: <20040719173349.GA26225@earwig.bogus> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__19_Jul_2004_18_44_24_+0100_77W2o/bOUkBf6wT+" Subject: Re: [gentoo-dev] use foo && bar vs. [ `use foo` ] && bar X-Archives-Salt: 87aee10d-51b6-4857-9272-1b87681fcb94 X-Archives-Hash: 63ec4fa912e0fb2ef81482903afaecb8 --Signature=_Mon__19_Jul_2004_18_44_24_+0100_77W2o/bOUkBf6wT+ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 19 Jul 2004 18:33:49 +0100 Tom Knight wrote: | Back on topic, I've searched for this on bugzilla, and didn't find | anything, but I'm sure it's come up on the forums before. There are | several ebuilds which have something along the lines of: | | use foo && bar This is correct. | Which executes bar if the foo USE flag is set, the problem is that the | use function not only returns true when the USE flag is set it also | echos the flag to stdout. When you emerge something you end up with | loads of use flags outputted. This is about to change. In the future use will be silent and usev (? can't remember whether it's a v...) will output. | The solution is to do it like this: | | [ `use foo` ] && bar Don't do that. | I'm going have a go at fixing some of the net-mail packages, if others | can do the same taht would be great. Don't. You'll just have to un'fix' it again later :) -- Ciaran McCreesh : Gentoo Developer (Sparc, MIPS, Vim, Fluxbox) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Signature=_Mon__19_Jul_2004_18_44_24_+0100_77W2o/bOUkBf6wT+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA/Ah796zL6DUtXhERAqjxAJ9uffDvTMKFbqoTcPYL27e4QlRifQCfbLBT bBa8wtXwjNv4MEvT+Fb6WYg= =Caqu -----END PGP SIGNATURE----- --Signature=_Mon__19_Jul_2004_18_44_24_+0100_77W2o/bOUkBf6wT+--