From: Antony Dovgal Date: Wed, 5 Apr 2006 20:21:59 +0000 (+0000) Subject: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails X-Git-Tag: RELEASE_1_3~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96682ede2226c873c3360e4b2f5c5592fca7a266;p=php workaround for problem on Solaris: shell tries to parse "for i in ;" and fails --- diff --git a/Makefile.global b/Makefile.global index 0897ba0572..531fdcc89a 100644 --- a/Makefile.global +++ b/Makefile.global @@ -44,13 +44,13 @@ install-modules: build-modules install-headers: -@if test "$(INSTALL_HEADERS)"; then \ - for i in $(INSTALL_HEADERS); do \ + for i in `echo $(INSTALL_HEADERS)`; do \ i=`$(top_srcdir)/build/shtool path -d $$i`; \ paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \ done; \ $(mkinstalldirs) $$paths && \ echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \ - for i in $(INSTALL_HEADERS); do \ + for i in `echo $(INSTALL_HEADERS)`; do \ if test "$(PHP_PECL_EXTENSION)"; then \ src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \ else \