From 9bc62f321189fa3b14f402f4f6ae4efc52680965 Mon Sep 17 00:00:00 2001 From: Daenyth Blank Date: Sun, 27 Apr 2008 11:34:34 -0400 Subject: [PATCH] Fixed FS#10294 Signed-off-by: Daenyth Blank --- .gitignore | 1 + scripts/makepkg.sh.in | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 9e43c2f..8423d85 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ cscope.out cscope.in.out cscope.po.out pacman-*.tar.gz +debugconfig.sh diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 1eb3d3a..df63c48 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -772,6 +772,8 @@ tidy_install() { if [ "$(check_option strip)" = "y" ]; then msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")" + OLDIFS="$IFS" + IFS='\n' 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 @@ -780,6 +782,7 @@ tidy_install() { /usr/bin/strip "$file";; esac done + IFS="$OLDIFS" fi if [ "$(check_option libtool)" = "n" ]; then -- 1.5.5.1