Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/
Date: Wed, 04 May 2011 16:41:43
Message-Id: fbd402cd32ab8dad37ac28cd63f8700e8f811a3d.zmedico@gentoo
1 commit: fbd402cd32ab8dad37ac28cd63f8700e8f811a3d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 16:36:29 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 16:36:29 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=fbd402cd
7
8 doins: add reference to bug #239529
9
10 The reasoning for the code from commit
11 55b3150af635a418ba3f1424132359c894db7ec4 is not really obvious, so
12 it's helpful to reference the corresponding bug report.
13
14 ---
15 bin/ebuild-helpers/doins | 5 ++++-
16 1 files changed, 4 insertions(+), 1 deletions(-)
17
18 diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins
19 index bcef311..7dec146 100755
20 --- a/bin/ebuild-helpers/doins
21 +++ b/bin/ebuild-helpers/doins
22 @@ -114,7 +114,10 @@ for x in "$@" ; do
23 x=${x##*/}
24 x_orig=$x
25 # Follow any symlinks recursively until we've got
26 - # a normal directory for 'find' to traverse.
27 + # a normal directory for 'find' to traverse. The
28 + # name of the symlink will be used for the name
29 + # of the installed directory, as discussed in
30 + # bug #239529.
31 while [ -L "$x" ] ; do
32 pushd "$(readlink "$x")" >/dev/null
33 x=${PWD##*/}