mirror of
https://github.com/postgres/postgres.git
synced 2025-06-20 15:22:23 +03:00
Fix shell error on Solaris
Apparently, the Bourne shell on Solaris doesn't like "for" loops with an empty list, so have "make" skip the loop in that case.
This commit is contained in:
@ -311,7 +311,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
|
||||
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
|
||||
$(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)
|
||||
|
||||
PROVE = @PROVE@
|
||||
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/
|
||||
|
Reference in New Issue
Block a user