summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-07-03 15:56:21 (GMT)
committerDmitry Stogov <dmitry@php.net>2007-07-03 15:56:21 (GMT)
commit2fd4e8146c9e7f6de7e8e260be9833e875734f45 (patch)
treefe8f8153c75c180110502ab02b6af8ecc4edf852
parent20fece8f761c5ee292a8048151755d64eaf2b330 (diff)
downloadphp-2fd4e8146c9e7f6de7e8e260be9833e875734f45.tar.gz
Fixed "make test" mistakes
-rw-r--r--Makefile.global4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.global b/Makefile.global
index ad3ddd2..d79b7d5 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; \