Skip to content

Commit 0d00683

Browse files
authored
Add C:\Windows\System32\OpenSSH to PATH for git-for-windows using external OpenSSH (#1695)
1 parent f64d715 commit 0d00683

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vcpkg/base/system.process.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ namespace vcpkg
545545
system32_env,
546546
"\\Wbem;",
547547
system32_env,
548-
"\\WindowsPowerShell\\v1.0\\");
548+
"\\WindowsPowerShell\\v1.0\\;",
549+
system32_env,
550+
"\\OpenSSH\\");
549551

550552
std::vector<std::string> env_strings = {
551553
"ALLUSERSPROFILE",

0 commit comments

Comments
 (0)