mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-03 10:51:47 -05:00
makepkg: BSD find compatibility fix
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
753599b504
commit
90aca75cb9
@ -844,7 +844,7 @@ tidy_install() {
|
||||
if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then
|
||||
msg2 "$(gettext "Stripping unneeded symbols from binaries and libraries...")"
|
||||
local binary
|
||||
find ${STRIP_DIRS[@]} -type f -writable 2>/dev/null | while read binary ; do
|
||||
find ${STRIP_DIRS[@]} -type f -perm -u+w 2>/dev/null | while read binary ; do
|
||||
case "$(file -biz "$binary")" in
|
||||
*compressed-encoding*) # Skip compressed binaries
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user