From: Zac Medico Date: Wed, 4 May 2011 16:36:29 +0000 (-0700) Subject: doins: add reference to bug #239529 X-Git-Tag: v2.1.9.47~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=289c8e472434e8bd0bdc00677bdf7bd003d9cbbc;p=portage.git 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. --- 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##*/}