Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
abuild
Commits
ebf5d7c6
Commit
ebf5d7c6
authored
Jan 07, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: strip files in all subdirs
parent
e04a69e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
abuild
abuild
+2
-2
No files found.
abuild
View file @
ebf5d7c6
...
...
@@ -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
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment