Commit ebf5d7c6 authored by Natanael Copa's avatar Natanael Copa

abuild: strip files in all subdirs

parent e04a69e2
......@@ -495,10 +495,10 @@ checksum() {
}
stripbin() {
local bin dirs=${STRIP_DIRS:-bin lib sbin usr/bin usr/lib usr/sbin}
local bin
cd "${subpkgdir:-$pkgdir}" || return 1
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=
case "$(file -biz "$bin")" in
*/x-sharedlib*|*/x-archive*)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment