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 1KhObf-0001Go-2Z for garchives@archives.gentoo.org; Sun, 21 Sep 2008 13:04:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6647E049A; Sun, 21 Sep 2008 13:04:05 +0000 (UTC) Received: from a1iwww1.kph.uni-mainz.de (a1iwww1.kph.uni-mainz.de [134.93.134.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C25CE049A for ; Sun, 21 Sep 2008 13:04:05 +0000 (UTC) Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id m8LD43sQ001093 for ; Sun, 21 Sep 2008 15:04:03 +0200 Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id m8LD43Ti031678; Sun, 21 Sep 2008 15:04:03 +0200 Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id m8LD43Wd031673; Sun, 21 Sep 2008 15:04:03 +0200 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18646.17986.821510.192980@a1ihome1.kph.uni-mainz.de> Date: Sun, 21 Sep 2008 15:04:02 +0200 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI In-Reply-To: References: X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) From: Ulrich Mueller X-Archives-Salt: dcefe0cd-60a7-4baf-9092-85f351304028 X-Archives-Hash: 887ab2d4420a622674cdc7d2bd82023a >>>>> On Sun, 21 Sep 2008, Steve Long wrote: > Vaeth wrote: >> let me remark that the more clever way to this is >> [ -n "${DOCS}" ] && eval "dodoc ${DOCS}" > [...] > BASH arrays will cope with *any* character apart from NUL, which > isn't allowed in filenames. Can you _guarantee_ the same? It seems to me that both bash arrays and "eval" are overkill here. After all, we are talking about a _default_ behaviour, and IMHO this should be kept as simple as possible. I doubt that there are many ebuilds installing files with strange names in /usr/share/doc. The few (if any) doing that might need a more complicated src_install anyway. My system may not be representative, but here are _no_ files containing spaces in /usr/share/doc: $ find /usr/share/doc | wc 104936 104936 7522127 (Note that the number of lines and words are equal.) Ulrich