From 669aa5b316ff9912f9ec9a4da3215714318887f2 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 9 Jun 2012 13:12:35 +0200 Subject: [PATCH] [ng] tests: fix unportable find(1) usage * t/subobj10.sh: The use of find(1) without an explicitly given file or directory argument (as in "find -name '*.o'" instead of "find . '-name.o'") is mostly a GNU extension, and not portable to POSIX find. Fix it. Signed-off-by: Stefano Lattarini --- t/subobj10.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/subobj10.sh b/t/subobj10.sh index ead6b6f76..e1d911ada 100755 --- a/t/subobj10.sh +++ b/t/subobj10.sh @@ -36,7 +36,7 @@ libbar_a_CCASFLAGS = .PHONY: test-objs check-local: test-objs test-objs: - find -name '*.$(OBJEXT)' > o.lst && cat o.lst + find . -name '*.$(OBJEXT)' > o.lst && cat o.lst test -f src/a.$(OBJEXT) test -f b.$(OBJEXT) test -f src/libbar_a-c.$(OBJEXT) -- 2.47.3