From c1dcef39a3ff0506670572fc11580b9178b6c761 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 8 Dec 2020 10:27:05 -0800 Subject: [PATCH] devops(windows): fix vswhere location (#4636) %PROGRAMFILES% locations depends on shell bitness; we're migrating from mingw32 to mingw64. --- browser_patches/webkit/archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_patches/webkit/archive.sh b/browser_patches/webkit/archive.sh index f65ac67452..0d640216ba 100755 --- a/browser_patches/webkit/archive.sh +++ b/browser_patches/webkit/archive.sh @@ -78,7 +78,7 @@ createZipForLinux() { # see https://docs.microsoft.com/en-us/visualstudio/install/tools-for-managing-visual-studio-instances?view=vs-2019 printMSVCRedistDir() { - local dll_file=$("$PROGRAMFILES\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll') + local dll_file=$("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll') local redist_dir=$(dirname "$dll_file") if ! [[ -d $redist_dir ]]; then echo "ERROR: cannot find MS VS C++ redistributable $redist_dir"