mirror of
https://github.com/php-win-ext/php-sdk-binary-tools.git
synced 2026-03-24 00:52:19 +01:00
We set executable permissions for all .bat and .exe files. This is required for running in Cygwin shells, but generally considered good style.
15 lines
245 B
Batchfile
Executable File
15 lines
245 B
Batchfile
Executable File
@echo off
|
|
|
|
if "%PHP_SDK_PHP_CMD%"=="" (
|
|
call %~dp0phpsdk_setvars.bat
|
|
if "!PHP_SDK_PHP_CMD!"=="" (
|
|
echo PHP SDK is not setup
|
|
exit /b 3
|
|
)
|
|
)
|
|
|
|
cmd /c %PHP_SDK_PHP_CMD% %PHP_SDK_BIN_PATH%\phpsdk_pgo.php %*
|
|
|
|
exit /b %errorlevel%
|
|
|