From: Anatol Belski Date: Tue, 11 Apr 2017 09:21:31 +0000 (+0200) Subject: Fail hard if sed isn't found X-Git-Tag: php-7.2.0alpha1~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa7bd5eabf902b2e0c4d8c28d6d4eebb0ebcc06f;p=php Fail hard if sed isn't found now that the new SDK is required and supplies it. --- diff --git a/win32/build/confutils.js b/win32/build/confutils.js index d93cfe4a68..46c4090b4f 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2880,7 +2880,9 @@ function toolset_setup_project_tools() } /* TODO throw error, ignore for now for BC. */ - PATH_PROG('sed'); + if (!PATH_PROG('sed')) { + ERROR('sed is required') + } RE2C = PATH_PROG('re2c'); if (RE2C) {