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 1P1hNA-0003Hi-Ee for garchives@archives.gentoo.org; Fri, 01 Oct 2010 15:18:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CF75E0AAB; Fri, 1 Oct 2010 15:18:07 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5196CE096F for ; Fri, 1 Oct 2010 15:18:00 +0000 (UTC) Received: by eyf6 with SMTP id 6so1645222eyf.40 for ; Fri, 01 Oct 2010 08:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=8Jf36haCriI2QgNFcZiSJ8WuG9SDsgIL3nHn043+hkM=; b=wY3sHADUPsqVNXiObR/7Kjlx+byeoOfRTpCcGJM5zzqAx7Y9e1gHtUo1c9lrX46bm+ zmF2DrUOXrg32gtzaO6iKhjXArwL1jKlRxBqIa9DTZzwM8D62NdDKHd8yy3pfN9ht19V q4z+vmBblYZzjV//waVy92fv9TxcG0reKcw/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=HiBIbYIzGjJwd3sv0x9rKySV31TFuZ9mbrKC4iNo7YHEGZp66fwrzG/frF4dvqbxsN PeOWUpYRb6dQ7gvYwwBxMrgTFBVOpxFaFlPCsdOlUOM8qri2UiJFqeLSL60ZBVAjOxV2 qs1ts+rr80p43hsBBwMZgAznsJhB+goiT52pM= Received: by 10.213.27.136 with SMTP id i8mr4363079ebc.46.1285946279201; Fri, 01 Oct 2010 08:17:59 -0700 (PDT) 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 Sender: nirbheek.chauhan@gmail.com Received: by 10.220.46.77 with HTTP; Fri, 1 Oct 2010 08:17:38 -0700 (PDT) In-Reply-To: <1285938445.5868.244.camel@tablet> References: <20100927113752.CF4CE20051@flycatcher.gentoo.org> <1285938445.5868.244.camel@tablet> From: Nirbheek Chauhan Date: Fri, 1 Oct 2010 20:47:38 +0530 X-Google-Sender-Auth: 1Rm22DAqFI02nAEljRaES20VvGI Message-ID: Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/openvpn: ChangeLog openvpn-2.1.3.ebuild To: gentoo-dev@lists.gentoo.org Cc: djc@gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e6ac3bef-b94e-4fb8-b666-9165b6a3ca6f X-Archives-Hash: 3e2a077ab1682f777d5010c49ee68e86 On Fri, Oct 1, 2010 at 6:37 PM, Peter Volkov wrote: > =D0=92 =D0=9F=D0=BD=D0=B4, 27/09/2010 =D0=B2 11:37 +0000, Dirkjan Ochtman= (djc) =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> src_compile() { >> =C2=A0 =C2=A0 =C2=A0 use static && sed -i -e '/^LIBS/s/LIBS =3D /LIBS = =3D -static /' Makefile >> >> =C2=A0 =C2=A0 =C2=A0 emake || die "make failed" >> >> =C2=A0 =C2=A0 =C2=A0 if ! use minimal ; then >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cd plugin >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 for i in $( ls 2>/dev/n= ull ); do > > This is bad construction: > http://mywiki.wooledge.org/BashPitfalls#for_i_in_.24.28ls_.2A.mp3.29 > A nice way around this is to do the following: ls -1 | while read i; do `read` delimits on newline, so you're safe. --=20 ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team