mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
makepkg: null terminate filenames to strip
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
parent
6d2fb6fd81
commit
8a9c666a8c
@ -1075,7 +1075,7 @@ tidy_install() {
|
||||
[[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S"
|
||||
[[ -z ${STRIP_STATIC+x} ]] && STRIP_STATIC="-S"
|
||||
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
|
||||
*application/x-sharedlib*) # Libraries (.so)
|
||||
strip $STRIP_SHARED "$binary";;
|
||||
|
Loading…
Reference in New Issue
Block a user