From 8a9c666a8c0f46739724e2032cedb451121c4594 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 24 Apr 2012 23:09:31 -0400 Subject: makepkg: null terminate filenames to strip Signed-off-by: Dave Reisner --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 10a0654d..4179dd5b 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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";; -- cgit v1.2.3-70-g09d2