diff options
author | Anatol Belski <ab@php.net> | 2017-08-18 11:54:56 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-08-18 11:54:56 +0200 |
commit | 065551bc9c94eb5842f0ccaf654d8e187f6485fd (patch) | |
tree | a3b09a6dbe80ac8d4ac260e56089538f603ae8e1 | |
parent | e7f4e671550b522d9830ce602371388dd6a249c7 (diff) | |
download | php-git-065551bc9c94eb5842f0ccaf654d8e187f6485fd.tar.gz |
Fix phpize exit status
Configure and others are generated, not copied. Seems there's yet much
more to do wrt exit status catching.
-rw-r--r-- | win32/build/phpize.bat | 9 |
1 files changed, 7 insertions, 2 deletions
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= + |