diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-10-07 16:23:28 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-10-07 16:23:28 +0000 |
commit | 2b8fab842b870723078be92db11ca03ba9f5d866 (patch) | |
tree | b1703fe16b93473ac8851bc9b86b74f812c2c5e2 /src | |
parent | a5d7ba773dff04d700afca6cf86bff64dc663b4f (diff) | |
download | postgresql-2b8fab842b870723078be92db11ca03ba9f5d866.tar.gz postgresql-2b8fab842b870723078be92db11ca03ba9f5d866.zip |
Prevent install error message when doing cmp on empty tree.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/Makefile b/src/include/Makefile index 8846d1b4086..642ff0ec333 100644 --- a/src/include/Makefile +++ b/src/include/Makefile @@ -4,7 +4,7 @@ # # 'make install' installs whole contents of src/include. # -# $PostgreSQL: pgsql/src/include/Makefile,v 1.13 2004/10/06 08:50:00 momjian Exp $ +# $PostgreSQL: pgsql/src/include/Makefile,v 1.14 2004/10/07 16:23:28 momjian Exp $ # #------------------------------------------------------------------------- @@ -60,7 +60,7 @@ remove-old-headers: for file in fmgr.h postgres.h access/attnum.h commands/trigger.h \ executor/spi.h utils/elog.h utils/geo_decls.h utils/mcxt.h \ utils/palloc.h; do \ - if cmp -s $(srcdir)/$$file $(DESTDIR)$(includedir)/$$file; \ + if cmp -s $(srcdir)/$$file $(DESTDIR)$(includedir)/$$file 2>/dev/null; \ then \ : ; \ else \ |