aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss3
1 files changed, 1 insertions, 2 deletions
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 "*)