From: foobar Date: Wed, 14 Sep 2005 17:57:22 +0000 (+0000) Subject: Silence warnings under Solaris X-Git-Tag: RELEASE_0_9_0~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbfba9977fafc7075daf1bcd5c235b0fa24cdf6b;p=php Silence warnings under Solaris --- diff --git a/Makefile.global b/Makefile.global index 769a2a37c8..82fad4613a 100644 --- a/Makefile.global +++ b/Makefile.global @@ -46,12 +46,12 @@ install-modules: build-modules @$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) test: all - -@if test ! -z $(PHP_EXECUTABLE) && test -x $(PHP_EXECUTABLE); then \ + -@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \ TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \ TEST_PHP_SRCDIR=$(top_srcdir) \ CC="$(CC)" \ $(PHP_EXECUTABLE) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php -d 'extension_dir=modules/' -d `( . $(PHP_MODULES) ; echo extension=$$dlname)` tests/; \ - elif test ! -z $(SAPI_CLI_PATH) && test -x $(SAPI_CLI_PATH); then \ + elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \ TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \ TEST_PHP_SRCDIR=$(top_srcdir) \ CC="$(CC)" \