summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-04 09:36:29 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-04 12:54:52 -0700
commit289c8e472434e8bd0bdc00677bdf7bd003d9cbbc (patch)
tree1f6c61cd719d24a9fa77b25c9aaae88a4aad05db /bin/ebuild-helpers
parent22b50e4d2502bc01d6133e1252e9d49ce447e5e9 (diff)
downloadportage-289c8e472434e8bd0bdc00677bdf7bd003d9cbbc.tar.gz
portage-289c8e472434e8bd0bdc00677bdf7bd003d9cbbc.tar.bz2
portage-289c8e472434e8bd0bdc00677bdf7bd003d9cbbc.zip
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.
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-xbin/ebuild-helpers/doins5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins
index bcef3118f..7dec14682 100755
--- a/bin/ebuild-helpers/doins
+++ b/bin/ebuild-helpers/doins
@@ -114,7 +114,10 @@ for x in "$@" ; do
x=${x##*/}
x_orig=$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=${PWD##*/}