From 3ded15337271cfaa3e4d122dd7f032937d2c6b14 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Fri, 13 Aug 2010 17:09:01 +0200 Subject: [generic] don't use "find -executable" ...which is not supported by older versions of "find", use "-perm /111" instead. Reported-by: Erwin Rol Signed-off-by: Marc Kleine-Budde --- scripts/lib/ptxd_make_world_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/ptxd_make_world_install.sh') diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh index 38e0716b3..e1158f24c 100644 --- a/scripts/lib/ptxd_make_world_install.sh +++ b/scripts/lib/ptxd_make_world_install.sh @@ -81,7 +81,7 @@ ptxd_make_world_install_unpack() { # fix rpaths in host/cross tools if [ "${pkg_type}" != "target" ]; then - find "${pkg_pkg_dir}" ! -type d -executable -print | while read file; do + find "${pkg_pkg_dir}" ! -type d -perm /111 -print | while read file; do if chrpath "${file}" > /dev/null 2>&1; then chrpath --replace "${PTXDIST_SYSROOT_HOST}/lib" "${file}" || return fi -- cgit v1.2.3