Skip to content
Snippets Groups Projects
Commit ebf5d7c6 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: strip files in all subdirs

parent e04a69e2
No related branches found
No related tags found
No related merge requests found
...@@ -495,10 +495,10 @@ checksum() { ...@@ -495,10 +495,10 @@ checksum() {
} }
stripbin() { stripbin() {
local bin dirs=${STRIP_DIRS:-bin lib sbin usr/bin usr/lib usr/sbin} local bin
cd "${subpkgdir:-$pkgdir}" || return 1 cd "${subpkgdir:-$pkgdir}" || return 1
msg "Stripping binaries" msg "Stripping binaries"
find $dirs -type f 2>/dev/null | while read bin; do find . -type f 2>/dev/null | while read bin; do
local opt= local opt=
case "$(file -biz "$bin")" in case "$(file -biz "$bin")" in
*/x-sharedlib*|*/x-archive*) */x-sharedlib*|*/x-archive*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment