1 |
commit: 289c8e472434e8bd0bdc00677bdf7bd003d9cbbc |
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 19:54:52 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=289c8e47 |
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##*/} |