diff options
author | foobar <sniper@php.net> | 2007-06-09 12:06:53 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2007-06-09 12:06:53 +0000 |
commit | 37e8ce097cb5439f6a6833f65e5b76ae280e95ae (patch) | |
tree | ee6359acc5b7d6fc62be432d11759d0e0e3f15b6 | |
parent | f199649ad6d686383da12201dadf1b76583a45b3 (diff) | |
download | php-git-37e8ce097cb5439f6a6833f65e5b76ae280e95ae.tar.gz |
- Fix special case of no ini file in use or not found
-rw-r--r-- | Makefile.global | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.global b/Makefile.global index ea9866b85f..dd7c2722d7 100644 --- a/Makefile.global +++ b/Makefile.global @@ -79,7 +79,7 @@ test: all CC="$(CC)" \ $(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 \ - $(EGREP) -v '^extension[\t\ ]=' `$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'` > $(top_builddir)/tmp-php.ini; \ + $(EGREP) -v '^extension[\t\ ]=' `$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo (php_ini_loaded_file()) ? php_ini_loaded_file() : "no_ini_file";'` > $(top_builddir)/tmp-php.ini; \ TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \ TEST_PHP_SRCDIR=$(top_srcdir) \ CC="$(CC)" \ |