]> granicus.if.org Git - php/commitdiff
Fixed "make test" mistakes
authorDmitry Stogov <dmitry@php.net>
Tue, 3 Jul 2007 15:56:21 +0000 (15:56 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 3 Jul 2007 15:56:21 +0000 (15:56 +0000)
Makefile.global

index ad3ddd26c5a6cc474706b735e7fc550567dfd32c..d79b7d500f403c78478b617f06f565d8ccc9c9d9 100644 (file)
@@ -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; \