summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-11 19:33:26 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2016-10-11 18:09:54 +0000
commit207c9a8f25dd705502608fbf82b4915cd6b62998 (patch)
tree2f6a9f0b13d629a7234996d519a60cf597922c84 /bin
parentbc47854ebd5c3098965dccdc2cadf3a6f01b0576 (diff)
check-elf-dynamic-objects: check sdk/bin too
It takes almost no time, but this way of doing it changes the interpretation of the -d parameter; not sure how important that is. Change-Id: I9d29cdf96d7006d5daea00bcc41e613fbd30aac8 Reviewed-on: https://gerrit.libreoffice.org/29707 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-elf-dynamic-objects4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/check-elf-dynamic-objects b/bin/check-elf-dynamic-objects
index 32cff5755c1f..f05d513bad94 100755
--- a/bin/check-elf-dynamic-objects
+++ b/bin/check-elf-dynamic-objects
@@ -13,7 +13,7 @@
set -euo pipefail
PARA=1
-check_path="${INSTDIR:-.}/program"
+check_path="${INSTDIR:-.}"
while [ "${1:-}" != "" ]; do
parm=${1%%=*}
@@ -56,7 +56,7 @@ while [ "${1:-}" != "" ]; do
done
-files=$(find "${check_path}" -type f)
+files=$(find "${check_path}/program" "${check_path}/sdk/bin" -type f)
# all RPATHs should point to ${INSTDIR}/program so that's the files they find
programfiles=$(basename -a $(echo ${files} | grep -o '/program/[^/]* '))