From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LaAxC-0008I2-AV for garchives@archives.gentoo.org; Thu, 19 Feb 2009 15:36:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12F04E0189; Thu, 19 Feb 2009 15:36:45 +0000 (UTC) Received: from smtp03.tky.fi (smtp03.tky.fi [82.130.63.73]) by pigeon.gentoo.org (Postfix) with SMTP id B8318E0189 for ; Thu, 19 Feb 2009 15:36:44 +0000 (UTC) Received: from [82.130.46.209] ([82.130.46.209]) by smtp03.tky.fi (SMSSMTP 4.1.9.35) with SMTP id M2009021917364212430 for ; Thu, 19 Feb 2009 17:36:42 +0200 Message-ID: <499D7D3D.7090703@gentoo.org> Date: Thu, 19 Feb 2009 17:39:41 +0200 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; fi; rv:1.8.1.19) Gecko/20090111 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: bzr.eclass References: <20090214132152.2aff08a0@terra.solaris> <49970B3F.40809@gentoo.org> <20090215064941.GC13006@comet> <20090219095927.65e82e61@terra.solaris> <18845.9642.146547.895690@a1ihome1.kph.uni-mainz.de> <8b4c83ad0902190142t5fe724ib8dfb494767f39ec@mail.gmail.com> In-Reply-To: <8b4c83ad0902190142t5fe724ib8dfb494767f39ec@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: url=http://users.tkk.fi/~praty/public.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9019E0056454D5A954F4D19C" X-Archives-Salt: fb4bef47-b6d4-4d39-acc1-169081136a1b X-Archives-Hash: 4644e348115bb81d4256b8d25a18d758 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9019E0056454D5A954F4D19C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nirbheek Chauhan wrote: > On Thu, Feb 19, 2009 at 2:56 PM, Ulrich Mueller wrote:= >> -DEPEND=3D">=3Ddev-util/bzr-1.5 >> - dev-util/diffstat" >> +DEPEND=3D">=3Ddev-util/bzr-1.5" >> >> - ${EBZR_DIFF_CMD} | diffstat >> + [ -x /usr/bin/diffstat ] && ${EBZR_DIFF_CMD} | /usr/bin/diffs= tat >> >=20 > Isn't this better? >=20 > type diffstat &>/dev/null && {EBZR_DIFF_CMD} | diffstat >=20 > It's independent of where diffstat is (in PATH or otherwise) >=20 or use has_version dev-util/diffstat Regards, Petteri --------------enig9019E0056454D5A954F4D19C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmdfUAACgkQcxLzpIGCsLTiqACeJSlD3/tm+IZf+ecCJ0rQRiVr oqQAnjofL40d21HmVYGMYzlpFpCJNXEU =VKja -----END PGP SIGNATURE----- --------------enig9019E0056454D5A954F4D19C--