]> granicus.if.org Git - php/commitdiff
MFH: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails
authorAntony Dovgal <tony2001@php.net>
Wed, 5 Apr 2006 20:22:21 +0000 (20:22 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 5 Apr 2006 20:22:21 +0000 (20:22 +0000)
Makefile.global

index dba7879cb7970d9bceaf4ee9fb26770ac106cd50..28483b6e74a9ecef17c94db798cb6a217ce5e9f7 100644 (file)
@@ -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 \