From 72736c0dae775f20ff4ac2135d5e9616fc3a5456 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Mon, 16 Sep 2019 06:45:24 +0000 Subject: kiss: clean up FossilOrigin-Name: 32184af28adbb4d73afd8c1eb46291bcd4083e02c397fed122ae26e54069b60e --- kiss | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/kiss b/kiss index 764e202..3df41f7 100755 --- a/kiss +++ b/kiss @@ -207,19 +207,10 @@ pkg_strip() { # Strip only files matching the below ELF types. find "$pkg_dir/$1" -type f | while read -r file; do case $(readelf -h "$file" 2>/dev/null) in - *" DYN "*) - strip_opt=--strip-unneeded - ;; - - *" REL "*) - strip_opt=--strip-debug - ;; - - *" EXEC "*) - strip_opt=--strip-all - ;; - - *) continue ;; + *" DYN "*) strip_opt=--strip-unneeded ;; + *" EXEC "*) strip_opt=--strip-all ;; + *" REL "*) strip_opt=--strip-debug ;; + *) continue esac # Suppress errors here as some binaries and libraries may -- cgit v1.2.3