From: Anatol Belski Date: Fri, 18 Aug 2017 09:54:56 +0000 (+0200) Subject: Fix phpize exit status X-Git-Tag: php-7.0.24RC1~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=065551bc9c94eb5842f0ccaf654d8e187f6485fd;p=php Fix phpize exit status Configure and others are generated, not copied. Seems there's yet much more to do wrt exit status catching. --- diff --git a/win32/build/phpize.bat b/win32/build/phpize.bat index c8840d3544..794b9cb710 100644 --- a/win32/build/phpize.bat +++ b/win32/build/phpize.bat @@ -1,6 +1,11 @@ @echo off SET PHP_BUILDCONF_PATH=%~dp0 cscript /nologo %PHP_BUILDCONF_PATH%\script\phpize.js %* -copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul -IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'configure --help') +IF NOT EXIST configure.bat ( + echo Error generating configure script, configure script was not copied + exit /b 3 +) ELSE ( + echo Now run 'configure --help' +) SET PHP_BUILDCONF_PATH= +