Skip to content

Commit 2bb2d14

Browse files
committed
Fix variable names in dnvminstall.ps1
1 parent e703a8c commit 2bb2d14

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dnvminstall.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
$tempPath = Join-Path $env:TEMP "dnvminstall"
2-
$kvmPs1Path = Join-Path $tempPath "dnvm.ps1"
3-
$kvmCmdPath = Join-Path $tempPath "dnvm.cmd"
2+
$dnvmPs1Path = Join-Path $tempPath "dnvm.ps1"
3+
$dnvmCmdPath = Join-Path $tempPath "dnvm.cmd"
44

55
Write-Host "Using temporary directory: $tempPath"
66
if (!(Test-Path $tempPath)) { md $tempPath | Out-Null }
77

88

99
$webClient = New-Object System.Net.WebClient
1010
Write-Host "Downloading DNVM.ps1 to $dnvmPs1Path"
11-
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/dnvm.ps1', $kvmPs1Path)
11+
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/dnvm.ps1', $dnvmPs1Path)
1212
Write-Host "Downloading DNVM.cmd to $dnvmCmdPath"
13-
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/dnvm.cmd', $kvmCmdPath)
13+
$webClient.DownloadFile('https://raw.githubusercontent.com/aspnet/Home/dev/dnvm.cmd', $dnvmCmdPath)
1414
Write-Host "Installing DNVM"
15-
& $kvmCmdPath setup
15+
& $dnvmCmdPath setup

0 commit comments

Comments
 (0)