diff options
author | Anatol Belski <ab@php.net> | 2017-10-30 11:28:32 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-10-30 11:28:32 +0100 |
commit | 7bf2947016dc840fcc2dcef8ef4f2003f00f7aef (patch) | |
tree | b165c8a1efb46063afcf57bfb56a0c2aa950123f | |
parent | c6e8c2bc9fe107254b01f3d24ce23e521579decf (diff) | |
download | php-git-7bf2947016dc840fcc2dcef8ef4f2003f00f7aef.tar.gz |
Fix fetching the SDK version
-rw-r--r-- | appveyor/build.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appveyor/build.bat b/appveyor/build.bat index 8119c097f4..e18b9a3dbb 100644 --- a/appveyor/build.bat +++ b/appveyor/build.bat @@ -13,11 +13,11 @@ if not exist "%PHP_BUILD_OBJ_DIR%" ( mkdir "%PHP_BUILD_OBJ_DIR%" ) +for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a if not exist "%PHP_BUILD_CACHE_SDK_DIR%" ( echo Cloning remote SDK repository git clone --branch %SDK_BRANCH% %SDK_REMOTE% "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1 ) else ( - for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a echo Got SDK version %GOT_SDK_VER% if NOT "%GOT_SDK_VER%" == "%PHP_BUILD_SDK_BRANCH:~8%" ( echo Updating to the configured SDK version %SDK_BRANCH:~8% |