summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-07-03 15:56:21 +0000
committerDmitry Stogov <dmitry@php.net>2007-07-03 15:56:21 +0000
commit2fd4e8146c9e7f6de7e8e260be9833e875734f45 (patch)
treefe8f8153c75c180110502ab02b6af8ecc4edf852 /Makefile.global
parent20fece8f761c5ee292a8048151755d64eaf2b330 (diff)
downloadphp-git-2fd4e8146c9e7f6de7e8e260be9833e875734f45.tar.gz
Fixed "make test" mistakes
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.global b/Makefile.global
index ad3ddd26c5..d79b7d500f 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -85,8 +85,8 @@ test: all
$(PHP_EXECUTABLE) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -d extension_dir=modules/ $(PHP_TEST_SHARED_EXTENSIONS) tests/; \
elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
- if test "$(INI_FILE)"; then \
- $(EGREP) -v '^extension[\t\ ]=' "$(INI_FILE)" > $(top_builddir)/tmp-php.ini; \
+ if test "$$INI_FILE"; then \
+ $(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
else \
echo > $(top_builddir)/tmp-php.ini; \
fi; \