Commit ee6755ff authored by somdoron's avatar somdoron

problem: appveyor with libsodium change the current directory and break the build

Solution: do git pull without changing the current directoy
parent 0a696d87
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment