Use more portable syntax for 'find'.

This commit is contained in:
Peter Eisentraut 2001-01-06 21:24:01 +00:00
parent 41fde54603
commit ca88243952

View File

@ -1,7 +1,7 @@
# #
# PostgreSQL top level makefile # PostgreSQL top level makefile
# #
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.15 2000/12/04 00:34:40 tgl Exp $ # $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.16 2001/01/06 21:24:01 petere Exp $
# #
subdir = subdir =
@ -110,7 +110,7 @@ distcheck: $(distdir).tar.gz
$(MAKE) -C $(distdir) install $(MAKE) -C $(distdir) install
$(MAKE) -C $(distdir) uninstall $(MAKE) -C $(distdir) uninstall
@echo "checking whether \`$(MAKE) uninstall' works" @echo "checking whether \`$(MAKE) uninstall' works"
test `find $(dummy) -not -type d | wc -l` -eq 0 test `find $(dummy) ! -type d | wc -l` -eq 0
$(MAKE) -C $(distdir) dist $(MAKE) -C $(distdir) dist
# Room for improvement: Check here whether this distribution tarball # Room for improvement: Check here whether this distribution tarball
# is sufficiently similar to the original one. # is sufficiently similar to the original one.