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
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#
# 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 =
@ -110,7 +110,7 @@ distcheck: $(distdir).tar.gz
$(MAKE) -C $(distdir) install
$(MAKE) -C $(distdir) uninstall
@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
# Room for improvement: Check here whether this distribution tarball
# is sufficiently similar to the original one.