]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] tests: fix unportable find(1) usage
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 9 Jun 2012 11:12:35 +0000 (13:12 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 9 Jun 2012 11:12:38 +0000 (13:12 +0200)
* 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 <stefano.lattarini@gmail.com>
t/subobj10.sh

index ead6b6f7698315d1a4c6a28e45f5790b3d548be7..e1d911ada16daaaa3447911dffc4bc6d489eac9b 100755 (executable)
@@ -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)