1 |
commit: bba20c632e79426cd006dd2b732fcaed079ac43a |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 03:37:12 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 03:37:12 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bba20c63 |
7 |
|
8 |
prepstrip: avoid duplicates for bug #445336 |
9 |
|
10 |
This prevents us from trying to hardlink duplicate splitdebug files, |
11 |
avoiding ln "File exists" failure as reported in bug #445336. |
12 |
|
13 |
--- |
14 |
bin/ebuild-helpers/prepstrip | 2 +- |
15 |
1 files changed, 1 insertions(+), 1 deletions(-) |
16 |
|
17 |
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip |
18 |
index 575001c..408060a 100755 |
19 |
--- a/bin/ebuild-helpers/prepstrip |
20 |
+++ b/bin/ebuild-helpers/prepstrip |
21 |
@@ -249,7 +249,7 @@ while read -r x ; do |
22 |
done < <( |
23 |
scanelf -yqRBF '#k%F' -k '.symtab' "$@" |
24 |
find "$@" -type f ! -type l -name '*.a' |
25 |
-) |
26 |
+) | LC_ALL=C sort -u |
27 |
|
28 |
# Now we look for unstripped binaries. |
29 |
for inode_link in $(shopt -s nullglob; echo *) ; do |