Dan McGee schrieb:
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index c809498..4a6f9b2 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -737,9 +737,11 @@ tidy_install() {
if [ "$(check_option strip)" = "y" ]; then msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")" - local binary bindirs - bindirs="bin lib sbin usr/bin usr/lib usr/sbin usr/local/bin usr/local/lib usr/local/sbin opt/*/bin opt/*/lib opt/*/sbin" - find ${bindirs} -type f 2>/dev/null | while read binary ; do + local binary + if [ -z "${STRIP_DIRS[@]}" ]; then + STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin}) + fi + find ${STRIP_DIRS[@]} -type f 2>/dev/null | while read binary ; do This breaks what was fixed here; you'll need to resubmit with that in mind: http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=27943a04d6dd13562...
I don't understand what you mean. The "find" line is unchanged. Can you elaborate?