summaryrefslogtreecommitdiff
path: root/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-07 19:13:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-07 19:13:03 +0000
commitebf5d7c6d745234d15610db1b1bbf32f301039f1 (patch)
treec4599639ead8de055ccf8c34ccd846691b434a10 /abuild
parente04a69e2130403a407afec2b23725764e2597f8b (diff)
downloadabuild-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-xabuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild b/abuild
index bfc19fa..579f222 100755
--- a/abuild
+++ b/abuild
@@ -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*)