summaryrefslogtreecommitdiffstats
path: root/tests/ts/build-sys
diff options
context:
space:
mode:
authorRuediger Meier2016-02-17 13:03:11 +0100
committerRuediger Meier2016-02-18 12:53:47 +0100
commit51658498c41f46950b6a418589b371c8ae8c09da (patch)
treed1fbd0552656e5ed8e499971cc107c3a587c19a5 /tests/ts/build-sys
parenttravis: minor cleanup (diff)
downloadkernel-qcow2-util-linux-51658498c41f46950b6a418589b371c8ae8c09da.tar.gz
kernel-qcow2-util-linux-51658498c41f46950b6a418589b371c8ae8c09da.tar.xz
kernel-qcow2-util-linux-51658498c41f46950b6a418589b371c8ae8c09da.zip
build-sys: portable usage of find command
- use dot instead of skipping search-path - avoid -perm /a+x - avoid -path Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/build-sys')
-rwxr-xr-xtests/ts/build-sys/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/build-sys/config b/tests/ts/build-sys/config
index 15b355103..bc48c509d 100755
--- a/tests/ts/build-sys/config
+++ b/tests/ts/build-sys/config
@@ -32,7 +32,7 @@ for conf in $config_gen_dir/config-gen.d/*.conf; do
./configure $opts &> /dev/null
make -j &> /dev/null
- bins=$(find . -type f -perm /a+x | sort)
+ bins=$(find . -type f \( -perm -u=x -o -perm -g=x -o -perm -o=x \) | sort)
for b in $bins; do
libs=$(readelf --dynamic $b 2> /dev/null | \
awk '/NEEDED/ { print $5 }' | \