commit: 04dd20b9e18599a0ba1454d9efc4595a0e700484
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue Jun 3 07:34:10 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 3 13:34:44 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=04dd20b9
estrip: properly indent a case statement
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/estrip | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/bin/estrip b/bin/estrip
index dffdf90dbf..4f734f729b 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -169,20 +169,19 @@ done
# Figure out what tool set we're using to strip stuff
unset SAFE_STRIP_FLAGS DEF_STRIP_FLAGS SPLIT_STRIP_FLAGS
case $("${path_of[strip]}" --version 2>/dev/null) in
-*elfutils*) # dev-libs/elfutils
- # elfutils default behavior is always safe, so don't need to specify
- # any flags at all
- SAFE_STRIP_FLAGS=""
- DEF_STRIP_FLAGS="--remove-comment"
- SPLIT_STRIP_FLAGS="-f"
- ;;
-*GNU*) # sys-devel/binutils
- # We'll leave out -R .note for now until we can check out the relevance
- # of the section when it has the ALLOC flag set on it ...
- SAFE_STRIP_FLAGS="--strip-unneeded -N __gentoo_check_ldflags__"
- DEF_STRIP_FLAGS="-R .comment -R .GCC.command.line -R
.note.gnu.gold-version"
- SPLIT_STRIP_FLAGS=
- ;;
+ *elfutils*) # dev-libs/elfutils
+ # elfutils default behavior is always safe, so don't need to
specify
+ # any flags at all
+ SAFE_STRIP_FLAGS=""
+ DEF_STRIP_FLAGS="--remove-comment"
+ SPLIT_STRIP_FLAGS="-f"
+ ;;
+ *GNU*) # sys-devel/binutils
+ # We'll leave out -R .note for now until we can check out the
relevance
+ # of the section when it has the ALLOC flag set on it ...
+ SAFE_STRIP_FLAGS="--strip-unneeded -N __gentoo_check_ldflags__"
+ DEF_STRIP_FLAGS="-R .comment -R .GCC.command.line -R
.note.gnu.gold-version"
+ SPLIT_STRIP_FLAGS=
esac
read -rd '' -a portage_strip_flags
<<<"${PORTAGE_STRIP_FLAGS-${SAFE_STRIP_FLAGS} ${DEF_STRIP_FLAGS}}"