Skip to content

Commit c1dcef3

Browse files
authored
devops(windows): fix vswhere location (#4636)
%PROGRAMFILES% locations depends on shell bitness; we're migrating from mingw32 to mingw64.
1 parent 99b98d6 commit c1dcef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser_patches/webkit/archive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ createZipForLinux() {
7878

7979
# see https://docs.microsoft.com/en-us/visualstudio/install/tools-for-managing-visual-studio-instances?view=vs-2019
8080
printMSVCRedistDir() {
81-
local dll_file=$("$PROGRAMFILES\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')
81+
local dll_file=$("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')
8282
local redist_dir=$(dirname "$dll_file")
8383
if ! [[ -d $redist_dir ]]; then
8484
echo "ERROR: cannot find MS VS C++ redistributable $redist_dir"

0 commit comments

Comments
 (0)