From 0142f829eb41ec3fa45833dc11ddb5c6a7e4a5f8 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 10 Oct 2020 23:06:55 +0200 Subject: [PATCH] Update install_dependencies.sh --- travis/install_dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis/install_dependencies.sh b/travis/install_dependencies.sh index 403d600..232e775 100755 --- a/travis/install_dependencies.sh +++ b/travis/install_dependencies.sh @@ -32,8 +32,9 @@ elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install python3 --params "/InstallDir:C:\Python3" [ -d ./windowsenv/ ] && $(yes | rm -rf ./windowsenv/) + [ -d $VCPKG_DIR ] && $(yes | rm -rf $VCPKG_DIR) git clone --depth=1 https://github.com/tdlight-team/windows-amd64-prebuilt-libraries.git windowsenv - mv windowsenv/vcpkg $VCPKG_DIR + mv windowsenv/vcpkg/. $VCPKG_DIR else echo "Unrecognized os: $TRAVIS_OS_NAME" exit 1