From 2b8fab842b870723078be92db11ca03ba9f5d866 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 7 Oct 2004 16:23:28 +0000 Subject: [PATCH] Prevent install error message when doing cmp on empty tree. --- src/include/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/Makefile b/src/include/Makefile index 8846d1b408..642ff0ec33 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 \ -- 2.11.0