diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-11-30 19:37:12 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-11-30 19:37:12 -0800 |
commit | bba20c632e79426cd006dd2b732fcaed079ac43a (patch) | |
tree | 23ecde14435d6b7d7681ebaf4ae161a1c00121b7 | |
parent | 3fce988f670ef2f7c9af677ceb3fbc0f56723bb0 (diff) | |
download | portage-bba20c632e79426cd006dd2b732fcaed079ac43a.tar.gz portage-bba20c632e79426cd006dd2b732fcaed079ac43a.tar.bz2 portage-bba20c632e79426cd006dd2b732fcaed079ac43a.zip |
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.
-rwxr-xr-x | bin/ebuild-helpers/prepstrip | 2 |
1 files changed, 1 insertions, 1 deletions
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 |