[Libreoffice-commits] core.git: bin/check-elf-dynamic-objects

Stephan Bergmann sbergman at redhat.com
Tue Feb 6 09:15:39 UTC 2018


 bin/check-elf-dynamic-objects |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9cb3bd3967b4313320906a32f13b56803687eba6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 6 10:14:35 2018 +0100

    basename -a is non-standard
    
    ...and apparently not supported on some tinderboxes like tb70 and tb71
    
    Change-Id: I37dae3e7bbb0b9324adf04819fa87fb6a5b9f1d0

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


More information about the Libreoffice-commits mailing list