diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-07 19:13:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-07 19:13:03 +0000 |
commit | ebf5d7c6d745234d15610db1b1bbf32f301039f1 (patch) | |
tree | c4599639ead8de055ccf8c34ccd846691b434a10 /abuild | |
parent | e04a69e2130403a407afec2b23725764e2597f8b (diff) | |
download | abuild-ebf5d7c6d745234d15610db1b1bbf32f301039f1.tar.gz abuild-ebf5d7c6d745234d15610db1b1bbf32f301039f1.tar.bz2 abuild-ebf5d7c6d745234d15610db1b1bbf32f301039f1.tar.xz abuild-ebf5d7c6d745234d15610db1b1bbf32f301039f1.zip |
abuild: strip files in all subdirs
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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*) |