From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IsLfV-0004IF-7d for garchives@archives.gentoo.org; Wed, 14 Nov 2007 17:04:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lAEH39bO015007; Wed, 14 Nov 2007 17:03:09 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lAEH145v012611 for ; Wed, 14 Nov 2007 17:01:08 GMT Received: from [192.168.20.50] (dsl092-012-007.sfo1.dsl.speakeasy.net [66.92.12.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 53D89657C1 for ; Wed, 14 Nov 2007 17:01:08 +0000 (UTC) Message-ID: <473B29D2.5040901@gentoo.org> Date: Wed, 14 Nov 2007 09:01:06 -0800 From: Mike Doty User-Agent: Thunderbird 2.0.0.6 (X11/20071005) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New eclass: emul-linux-x86.eclass References: <473AAF34.4010403@gentoo.org> <200711141259.24522.peper@gentoo.org> <473AF676.6060109@gentoo.org> <200711141449.09228.scel@xdap.org> In-Reply-To: <200711141449.09228.scel@xdap.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: a5fb3597-ccca-4b7f-9462-bc261056dae7 X-Archives-Hash: 2c932ed533e4de0ebd9fd1f48f8775be -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Torsten Rehn wrote: > On Wednesday 14 November 2007 14:21, you wrote: >> But why is it standard to quote other assignments like in DESCRIPTION and >> HOMEPAGE then? > > When assigning literal values as in DESCRIPTION and HOMEPAGE, you have to > quote. ${WORKDIR} is quoted on its assignment and therefore does not have to > be quoted when assigning its value to another variable (${S}) by reference. > > [gentop][scel@~] > cat test.sh > #!/bin/bash > TEXT="A B" > Q=${TEXT} > echo ${TEXT} > FAIL=DONT TRYTHISATHOME > [gentop][scel@~] > ./test.sh > A B > ./test.sh: line 5: TRYTHISATHOME: command not found > I've quoted WORKDIR. - -- ======================================================= Mike Doty kingtaco -at- gentoo.org Gentoo Infrastructure Gentoo/AMD64 Strategic Lead GPG: E1A5 1C9C 93FE F430 C1D6 F2AF 806B A2E4 19F4 AE05 ======================================================= -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iQCVAwUBRzsp0YBrouQZ9K4FAQIu6gQAhtpbkyViwi/zgWa6fgLvG0IfyaZSzeXO YovtcSJpUTtW1IyfOEbrYWnY2Apyv5V2kp7E8szXNF+k3sAQt05N5i8VBjhZAFJP HUWqVr7CxdAloYUPnWGTlXzWQWpc+6EWzqIGMAxk61VFnmvcWY5tSZSerUdS1ftS ymyM0fmsDfk= =4Abs -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list