From ee6755ff1d3c4dfa9a488674f4eb560f61390746 Mon Sep 17 00:00:00 2001 From: somdoron Date: Wed, 12 Jun 2019 00:33:59 +0300 Subject: [PATCH] problem: appveyor with libsodium change the current directory and break the build Solution: do git pull without changing the current directoy --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index b7e0f9ec..0e4ea433 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -122,8 +122,7 @@ install: if not exist "%LIBSODIUMDIR%" ( git clone --branch stable --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR% ) else ( - cd "%LIBSODIUMDIR%" && - git pull + git -C "%LIBSODIUMDIR%" pull ) ) - cmd: if "%WITH_LIBSODIUM%"=="ON" msbuild /v:minimal /maxcpucount:%NUMBER_OF_PROCESSORS% /p:Configuration=%Configuration%DLL %LIBSODIUMDIR%\builds\msvc\%MSVCYEAR%\libsodium\libsodium.vcxproj