diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-02-06 10:14:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-02-06 10:14:35 +0100 |
commit | 9cb3bd3967b4313320906a32f13b56803687eba6 (patch) | |
tree | 11d1884f340527c88d31ca2c1bc132c226cc305a /bin | |
parent | 5d15bb58494eb09922df0ea1d52f0ff911b3456e (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-x | bin/check-elf-dynamic-objects | 2 |
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 |