File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if "%pfb_cpp_vers%" == "" (
2323 exit 1
2424)
2525
26- if " %pfb_ts% " gtr " 0 " (
26+ if " %pfb_ts% " == " 1 " (
2727 set pfb_ts = 1
2828) else (
2929 set pfb_ts = 0
@@ -57,7 +57,7 @@ if "%pfb_arch%" == "x86" (
5757 set build_root = %php_root% x64\
5858)
5959
60- if " %pfb_ts% " gtr " 0 " (
60+ if %pfb_ts% equ 1 (
6161 set build_root = %build_root% Release_TS\
6262) else (
6363 set build_root = %build_root% Release\
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ set USE_GIT_HASH=0
1717for /f " tokens=3" %%i in ('findstr /b /c:" #define PHP_INTERBASE_VER_MAJOR" %~dp0 ..\php_interbase.h') do set VER_MAJOR = %%i
1818for /f " tokens=3" %%i in ('findstr /b /c:" #define PHP_INTERBASE_VER_MINOR" %~dp0 ..\php_interbase.h') do set VER_MINOR = %%i
1919for /f " tokens=3" %%i in ('findstr /b /c:" #define PHP_INTERBASE_VER_REV" %~dp0 ..\php_interbase.h') do set VER_REV = %%i
20- set PFB_VERS = %VER_MAJOR% .%VER_MINOR% .%VER_REV% -beta
20+ set PFB_VERS = %VER_MAJOR% .%VER_MINOR% .%VER_REV% -RC0
2121
22- if " %USE_GIT_HASH% " gtr " 0 " (
22+ if %USE_GIT_HASH% equ 1 (
2323 for /f %%i in ('git -C %~dp0 ..\ rev-parse --short HEAD') do set PFB_VERS = %PFB_VERS% -%%i
2424)
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ exit /B
3232
3333 set build_msg = Building PHP-%pfb_php_vers%
3434
35- if " %pfb_ts% " gtr " 0" (
36- set build_msg = %build_msg% non-TS
37- set extra_args = --disable-zts
38- ) else (
35+ if %pfb_ts% equ 1 (
3936 set build_msg = %build_msg% TS
4037 set extra_args =
38+ ) else (
39+ set build_msg = %build_msg% non-TS
40+ set extra_args = --disable-zts
4141 )
4242
4343 if " %pfb_arch% " == " x86" (
You can’t perform that action at this time.
0 commit comments