summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_install.sh
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-08-13 17:09:01 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-08-21 09:49:34 +0200
commit3ded15337271cfaa3e4d122dd7f032937d2c6b14 (patch)
tree93abe0e9aebfc9145b49777293285626eab70ca2 /scripts/lib/ptxd_make_world_install.sh
parent80e8604f09ecac1ba3694ccc625fdaac1a1733aa (diff)
downloadptxdist-3ded15337271cfaa3e4d122dd7f032937d2c6b14.tar.gz
ptxdist-3ded15337271cfaa3e4d122dd7f032937d2c6b14.tar.xz
[generic] don't use "find -executable"
...which is not supported by older versions of "find", use "-perm /111" instead. Reported-by: Erwin Rol <erwin@erwinrol.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_install.sh')
-rw-r--r--scripts/lib/ptxd_make_world_install.sh2
1 files changed, 1 insertions, 1 deletions
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