summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-02-06 10:14:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-06 10:14:35 +0100
commit9cb3bd3967b4313320906a32f13b56803687eba6 (patch)
tree11d1884f340527c88d31ca2c1bc132c226cc305a /bin
parent5d15bb58494eb09922df0ea1d52f0ff911b3456e (diff)
basename -a is non-standard
...and apparently not supported on some tinderboxes like tb70 and tb71 Change-Id: I37dae3e7bbb0b9324adf04819fa87fb6a5b9f1d0
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-elf-dynamic-objects2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-elf-dynamic-objects b/bin/check-elf-dynamic-objects
index 3561b4109c78..9d2551d506dc 100755
--- a/bin/check-elf-dynamic-objects
+++ b/bin/check-elf-dynamic-objects
@@ -58,7 +58,7 @@ done
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/[^/]* '))
+programfiles=$(echo ${files} | grep -o '/program/[^/]* ' | xargs -n 1 basename)
# whitelists should contain only system libraries that have a good reputation
# of maintaining ABI stability