From: Stefano Lattarini Date: Sat, 9 Jun 2012 11:12:35 +0000 (+0200) Subject: [ng] tests: fix unportable find(1) usage X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=669aa5b316ff9912f9ec9a4da3215714318887f2;p=thirdparty%2Fautomake.git [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 --- 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)