File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,11 @@ if exist "%DEPS_DIR%\bin" (
5151echo .
5252echo Copying DLL files...
5353copy /y " %DEPS_DIR% \bin\*.dll" " %PHP_BUILD_DIR% \"
54- set COPY_EXIT_CODE = %errorlevel%
55- echo Copy command completed with exit code: %COPY_EXIT_CODE%
56-
57- rem Exit code 1 from copy can mean "some files already exist" which is OK
58- rem Only exit on codes 4+ which indicate real errors
59- if %COPY_EXIT_CODE% gtr 3 (
60- echo ERROR: Failed to copy DLL files (exit code: %COPY_EXIT_CODE% )
61- exit /b 1
54+ if %errorlevel% neq 0 (
55+ echo WARNING: Copy command returned exit code: %errorlevel%
56+ echo This might be normal if some DLLs already exist
6257) else (
63- echo SUCCESS: DLL files copied (or already present)
58+ echo SUCCESS: DLL files copied successfully
6459)
6560
6661echo .
You can’t perform that action at this time.
0 commit comments