abuild: strip files in all subdirs
This commit is contained in:
parent
e04a69e213
commit
ebf5d7c6d7
4
abuild
4
abuild
|
@ -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*)
|
||||||
|
|
Loading…
Reference in New Issue