diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-16 06:45:24 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-16 06:45:24 +0000 |
commit | 72736c0dae775f20ff4ac2135d5e9616fc3a5456 (patch) | |
tree | f14aead87ae7f20ff11edef379c7ca68d78b4380 /kiss | |
parent | 913fe6c93d4c6f3057114d4e9f1d680c8c4dcfed (diff) | |
download | cpt-72736c0dae775f20ff4ac2135d5e9616fc3a5456.tar.gz |
kiss: clean up
FossilOrigin-Name: 32184af28adbb4d73afd8c1eb46291bcd4083e02c397fed122ae26e54069b60e
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -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 |