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 1QHf8x-0007lJ-BQ for garchives@archives.gentoo.org; Wed, 04 May 2011 16:41:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 953381C01E; Wed, 4 May 2011 16:41:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 616141C01E for ; Wed, 4 May 2011 16:41:35 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E52641B4053 for ; Wed, 4 May 2011 16:41:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id EE45980505 for ; Wed, 4 May 2011 16:41:33 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/doins X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: fbd402cd32ab8dad37ac28cd63f8700e8f811a3d Date: Wed, 4 May 2011 16:41:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 1a3de5dd80b3810cf83d8dd4008b312f commit: fbd402cd32ab8dad37ac28cd63f8700e8f811a3d Author: Zac Medico gentoo org> AuthorDate: Wed May 4 16:36:29 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed May 4 16:36:29 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dfbd402cd doins: add reference to bug #239529 The reasoning for the code from commit 55b3150af635a418ba3f1424132359c894db7ec4 is not really obvious, so it's helpful to reference the corresponding bug report. --- bin/ebuild-helpers/doins | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index bcef311..7dec146 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -114,7 +114,10 @@ for x in "$@" ; do x=3D${x##*/} x_orig=3D$x # Follow any symlinks recursively until we've got - # a normal directory for 'find' to traverse. + # a normal directory for 'find' to traverse. The + # name of the symlink will be used for the name + # of the installed directory, as discussed in + # bug #239529. while [ -L "$x" ] ; do pushd "$(readlink "$x")" >/dev/null x=3D${PWD##*/}