OSDN Git Service

Use more portable syntax for 'find'.
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 6 Jan 2001 21:24:01 +0000 (21:24 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 6 Jan 2001 21:24:01 +0000 (21:24 +0000)
GNUmakefile.in

index 2d0327a..e131e13 100644 (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.