diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-27 21:06:28 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-27 21:07:44 -0600 |
commit | c028014f96911930bf3b7dce08c0fe997cedfc69 (patch) | |
tree | 4889d74e214b2d11f71ce8ed47b7bd133ec0d3ac /scripts | |
parent | 0775c38e72c06b9ad428c4e6dbfd0b6f0cda2818 (diff) |
makepkg: ensure binaries in /opt/* are stripped
The path selection for stripping binaries was slightly off, so any binaries
in subdirectories of opt/ were missed. Fixes FS#9342.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index f5d5e052..0997386e 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -754,7 +754,7 @@ tidy_install() { if [ "$(check_option strip)" = "y" ]; then msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")" - for file in $(find {,usr/{,local/},opt/}{bin,lib,sbin} -type f 2>/dev/null || true); do + for file in $(find {,usr/{,local/},opt/*/}{bin,lib,sbin} -type f 2>/dev/null || true); do case "$(file -biz "$file")" in *application/x-sharedlib*) # Libraries /usr/bin/strip --strip-debug "$file";; |