makepkg: null terminate filenames to strip
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
parent
6d2fb6fd81
commit
8a9c666a8c
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ tidy_install() {
|
||||||
[[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S"
|
[[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S"
|
||||||
[[ -z ${STRIP_STATIC+x} ]] && STRIP_STATIC="-S"
|
[[ -z ${STRIP_STATIC+x} ]] && STRIP_STATIC="-S"
|
||||||
local binary
|
local binary
|
||||||
find . -type f -perm -u+w 2>/dev/null | while read binary ; do
|
find . -type f -perm -u+w -print0 2>/dev/null | while read -d '' binary ; do
|
||||||
case "$(file -bi "$binary")" in
|
case "$(file -bi "$binary")" in
|
||||||
*application/x-sharedlib*) # Libraries (.so)
|
*application/x-sharedlib*) # Libraries (.so)
|
||||||
strip $STRIP_SHARED "$binary";;
|
strip $STRIP_SHARED "$binary";;
|
||||||
|
|
Loading…
Add table
Reference in a new issue