From f36795644fdbbbdf272fb3e75174d52327bdedaf Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Fri, 30 Aug 2019 17:09:55 +0000 Subject: docs: update FossilOrigin-Name: ef7a8eb1c357e4d67251a98e3f1d2787067784f4b2ec2ac74ec9472221e8449d --- kiss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kiss') diff --git a/kiss b/kiss index eddbb95..ec9786e 100755 --- a/kiss +++ b/kiss @@ -255,8 +255,7 @@ pkg_strip() { log "[$1] Stripping binaries and libraries" - # Strip only files matching the below mime-types from the package - # directory. No alternative to 'file' here sadly. + # 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 "*) -- cgit v1.2.3