Skip to content

Commit 0c29f0b

Browse files
committed
fix: enable shell for vcpkg bootstrap
1 parent dabdff5 commit 0c29f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcpkg/vcpkg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function setupVcpkg(_version: string, _setupCppDir: string, _arch: string
1212
if (!hasVCPKG || which.sync("vcpkg", { nothrow: true }) === null) {
1313
execa.sync("git", ["clone", "https://github.com/microsoft/vcpkg"], { cwd: untildify("~/") })
1414
const vcpkgDir = untildify("~/vcpkg")
15-
execa.sync("./vcpkg/bootstrap-vcpkg", { cwd: vcpkgDir })
15+
execa.sync("./vcpkg/bootstrap-vcpkg", { cwd: vcpkgDir, shell: true })
1616
addPath(vcpkgDir)
1717
hasVCPKG = true
1818
return { binDir: vcpkgDir }

0 commit comments

Comments
 (0)