From: Jani Taskinen Date: Fri, 3 Aug 2007 14:01:56 +0000 (+0000) Subject: MFH: fix for broken shells X-Git-Tag: php-5.2.4RC2~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a847d2c6fe9ce083753882f4fd8c7097584b811a;p=php MFH: fix for broken shells --- diff --git a/Makefile.global b/Makefile.global index 3457c7809c..b4cec63319 100644 --- a/Makefile.global +++ b/Makefile.global @@ -69,8 +69,8 @@ install-headers: PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' PHP_TEST_SHARED_EXTENSIONS = ` \ - if test "$(PHP_MODULES)"; then \ - for i in $(PHP_MODULES); do \ + if test "x$(PHP_MODULES)" != "x"; then \ + for i in $(PHP_MODULES)""; do \ . $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \ done; \ fi`