Skip to content

Commit 4494ad6

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fix phpize exit status
2 parents 264271f + 065551b commit 4494ad6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

win32/build/phpize.bat

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
@echo off
22
SET PHP_BUILDCONF_PATH=%~dp0
33
cscript /nologo %PHP_BUILDCONF_PATH%\script\phpize.js %*
4-
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
5-
IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'configure --help')
4+
IF NOT EXIST configure.bat (
5+
echo Error generating configure script, configure script was not copied
6+
exit /b 3
7+
) ELSE (
8+
echo Now run 'configure --help'
9+
)
610
SET PHP_BUILDCONF_PATH=
11+

0 commit comments

Comments
 (0)