From bba20c632e79426cd006dd2b732fcaed079ac43a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 30 Nov 2012 19:37:12 -0800 Subject: [PATCH] prepstrip: avoid duplicates for bug #445336 This prevents us from trying to hardlink duplicate splitdebug files, avoiding ln "File exists" failure as reported in bug #445336. --- bin/ebuild-helpers/prepstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 575001cf3..408060aeb 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -249,7 +249,7 @@ while read -r x ; do done < <( scanelf -yqRBF '#k%F' -k '.symtab' "$@" find "$@" -type f ! -type l -name '*.a' -) +) | LC_ALL=C sort -u # Now we look for unstripped binaries. for inode_link in $(shopt -s nullglob; echo *) ; do -- 2.26.2