commit: 3acb934b7f395d8db985908bd31eadc2b3505392 Author: Kerin Millar <kfm <AT> plushkava <DOT> net> AuthorDate: Tue Jun 10 23:40:50 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 12 10:43:42 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3acb934b
estrip: replace three conditional expressions with just one Signed-off-by: Kerin Millar <kfm <AT> plushkava.net> Signed-off-by: Sam James <sam <AT> gentoo.org> bin/estrip | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/estrip b/bin/estrip index 51c9a77523..fb24d90999 100755 --- a/bin/estrip +++ b/bin/estrip @@ -645,8 +645,7 @@ for inode_link in *; do buildid= if [[ ${f} == *"current ar archive"* ]] ; then process_ar "${x}" - elif [[ ${f} == *"SB executable"* || ${f} == *"SB pie executable"* || - ${f} == *"SB shared object"* ]] ; then + elif [[ ${f} == *SB\ @(?(pie )executable|shared object)* ]] ; then process_elf "${x}" "${inode_link}" "${portage_strip_flags[@]}" elif [[ ${f} == *"SB relocatable"* ]] ; then [[ ${x} == *.ko ]] || do_splitdebug=0