From fde93c511569d763ba03bcab86ab85f8f856aa7b Mon Sep 17 00:00:00 2001 From: ShaneOss Date: Thu, 5 May 2016 09:48:30 +1000 Subject: [PATCH] Update make.php Need to quote PHP_BINARY's that have spaces e.g. on Windows PHP installations performed by Web Platform Installer. --- make.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.php b/make.php index 1035895..67e024c 100644 --- a/make.php +++ b/make.php @@ -685,7 +685,7 @@ function resolveDependencies($autoupdate=true) { $this->ensureComposer(); - $php = defined('PHP_BINARY') ? PHP_BINARY : 'php'; + $php = defined("'PHP_BINARY'") ? PHP_BINARY : 'php'; if (file_exists(dirname(__file__)."/composer.lock")) { if ($autoupdate) passthru($php." ".dirname(__file__)."/composer.phar -v update");