diff options
author | Antony Dovgal <tony2001@php.net> | 2006-04-05 20:22:21 (GMT) |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-04-05 20:22:21 (GMT) |
commit | 40e25b5ad7b918dbda3fa24f68e674a36a6c83df (patch) | |
tree | 65fadd2137d5ccc8538859f8c334181c05970c91 /Makefile.global | |
parent | 52296072e08d5dda35a61bb9cec44f9ab4c0505e (diff) | |
download | php-40e25b5ad7b918dbda3fa24f68e674a36a6c83df.tar.gz |
MFH: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails
Diffstat (limited to 'Makefile.global')
-rw-r--r-- | Makefile.global | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.global b/Makefile.global index dba7879..28483b6 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 \ |