Content-Length: 255160 | pFad | http://github.com/postgrespro/postgres/commit/2aa0fb032ecdc5624a3706a2db0a7ca42bbaf211

8C Fix shell error on Solaris · postgrespro/postgres@2aa0fb0 · GitHub
Skip to content

Commit 2aa0fb0

Browse files
committed
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.
1 parent dcae5fa commit 2aa0fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.global.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ ifeq ($(MAKELEVEL),0)
311311
$(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log
312312
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
313313
endif
314-
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
314+
$(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)
315315

316316
PROVE = @PROVE@
317317
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2aa0fb032ecdc5624a3706a2db0a7ca42bbaf211

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy