[pacman-dev] [PATCH] Make strip paths configurable

Thomas Bächler thomas at archlinux.org
Tue Jul 1 15:27:39 EDT 2008


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=27943a04d6dd135628c2313525ebffbcd76cc514

I don't understand what you mean. The "find" line is unchanged. Can you 
elaborate?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080701/59cb26f2/attachment.pgp>


More information about the pacman-dev mailing list