From b0ed2d1f46d27885a19ae6941b6ea5276f0050e0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 25 Jun 2022 13:09:22 -0500 Subject: [PATCH] Port test SUBDIRS to Solaris 10 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * test/Makefile.in (SUBDIRS): Port to traditional ‘find’, which lacks -path. --- test/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Makefile.in b/test/Makefile.in index 3b6e116e65f..67162c48838 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -240,7 +240,8 @@ $(foreach test,${TESTS},$(eval $(call test_template,${test}))) ## Get the tests for only a specific directory. SUBDIRS = $(sort $(shell cd ${srcdir} && find lib-src lisp misc src -type d \ - ! \( -path "*resources*" -o -path "*auto-save-list" \) -print)) + \( -name '*resources*' -prune \ + -o ! -name '*auto-save-list' -print \))) SUBDIR_TARGETS = define subdir_template -- 2.39.5