doins: add reference to bug #239529
authorZac Medico <zmedico@gentoo.org>
Wed, 4 May 2011 16:36:29 +0000 (09:36 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 May 2011 16:36:29 +0000 (09:36 -0700)
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

index bcef3118f10fe9374103b901431369119be6e1d4..7dec146825b8991a8a2e4683ed83b9257faa578e 100755 (executable)
@@ -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##*/}