From 5133291eb7116b29ff413f981b5744b677827de1 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Fri, 6 May 2016 13:07:30 +0200 Subject: [PATCH] xtf: fix usage of "-executable" with find MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "-executable" is a GNU only extension to find. Instead replace it with a POSIX compatible one. Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7657e19..fd8c3e0 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ cscope: .PHONY: clean clean: find . \( -name "*.o" -o -name "*.d" -o -name "*.lds" \) -delete - find tests/ \( -executable -name "test-*" -o -name "test-*.cfg" \ + find tests/ \( -perm -a=x -name "test-*" -o -name "test-*.cfg" \ -o -name "test-info.json" \) -delete .PHONY: distclean -- 2.39.5