]> granicus.if.org Git - postgresql/commitdiff
Send EXTRA_INSTALL errors to install.log, not stderr.
authorNoah Misch <noah@leadboat.com>
Mon, 31 Dec 2018 21:53:05 +0000 (13:53 -0800)
committerNoah Misch <noah@leadboat.com>
Mon, 31 Dec 2018 21:53:05 +0000 (13:53 -0800)
We already redirected other temp-install stderr and all temp-install
stdout in this way.  Back-patch to v10, like the next commit.

Discussion: https://postgr.es/m/20181224221601.GA3227827@rfd.leadboat.com

src/Makefile.global.in

index 956fd274cd813b68c5cd65c254e277f75a6706de..75b52a866a8697cf5288c647fd9cd04a3a10e62d 100644 (file)
@@ -391,7 +391,7 @@ ifeq ($(MAKELEVEL),0)
        $(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log
        $(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
 endif
-       $(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install >>'$(abs_top_builddir)'/tmp_install/log/install.log || exit; done)
+       $(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1 || exit; done)
 endif
 endif