From 5c05446d0783b40b9e981b1af2f1ed0f3f331324 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 22 Feb 2016 14:07:16 +0200 Subject: abuild: use gnu find supported way to find suid binaries --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index 7405f74..e069d46 100644 --- a/abuild.in +++ b/abuild.in @@ -618,7 +618,7 @@ postcheck() { echo "$i" fi # check so we dont have any suid root binaries that are not PIE - i=$(find "$dir" -type f -perm +6000 \ + i=$(find "$dir" -type f -perm /6000 \ | xargs scanelf --nobanner --etype ET_EXEC \ | sed "s|ET_EXEC $dir|\t|") if [ -n "$i" ]; then -- cgit v1.2.3-60-g2f50