From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OwU6B-0008Mu-5Q for garchives@archives.gentoo.org; Fri, 17 Sep 2010 06:07:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CBD8E0A5A for ; Fri, 17 Sep 2010 06:07:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 21427E0849 for ; Fri, 17 Sep 2010 05:08:13 +0000 (UTC) Received: from [192.168.1.35] (unknown [94.158.169.15]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 2178F1B4045 for ; Fri, 17 Sep 2010 05:08:11 +0000 (UTC) Subject: Re: [gentoo-dev] RFC: fox.eclass update From: Peter Volkov To: gentoo-dev@lists.gentoo.org In-Reply-To: <201009161834.18258.vapier@gentoo.org> References: <4C921C29.6010502@gentoo.org> <201009161530.12532.vapier@gentoo.org> <1284666087.14378.437.camel@tablet> <201009161834.18258.vapier@gentoo.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 17 Sep 2010 09:06:19 +0400 Message-ID: <1284699979.19441.15.camel@tablet> 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 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 482f8c1b-83c7-4c96-afda-241ae4378bab X-Archives-Hash: 86d90175dda7ba816f28e886fab5d34c =D0=92 =D0=A7=D1=82=D0=B2, 16/09/2010 =D0=B2 18:34 -0400, Mike Frysinger = =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Thursday, September 16, 2010 15:41:27 Peter Volkov wrote: > > =D0=92 =D0=A7=D1=82=D0=B2, 16/09/2010 =D0=B2 15:29 -0400, Mike Frysin= ger =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > > FOX_PV=3D"${FOX_PV:-${PV}}" > > >=20 > > > while you're here, i'd change to: > > > : ${FOX_PV:=3D${PV}} > >=20 > > Why? This looks less readable... >=20 > only because your eyes arent tuned to it Instead of explicit variable assignment (what was intended) you suggest to call `:` command and implicitly assign variable with bash parameter expansion... --=20 Peter.