Skip to content

Commit 1e5a740

Browse files
ASP.NET Push Botunknown
authored andcommitted
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@703068b
1 parent 6626035 commit 1e5a740

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

dnvm.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function _WriteOut {
5959

6060
### Constants
6161
$ProductVersion="1.0.0"
62-
$BuildVersion="beta5-10352"
62+
$BuildVersion="beta5-10353"
6363
$Authors="Microsoft Open Technologies, Inc."
6464

6565
# If the Version hasn't been replaced...
@@ -1004,6 +1004,7 @@ function dnvm-install {
10041004

10051005
if(Test-Path $RuntimeFolder) {
10061006
_WriteOut "'$runtimeFullName' is already installed."
1007+
dnvm-use $PackageVersion -Architecture:$Architecture -Runtime:$Runtime -Persistent:$Persistent
10071008
}
10081009
else {
10091010
$Architecture = GetArch $Architecture
@@ -1038,6 +1039,8 @@ function dnvm-install {
10381039
_WriteDebug "Cleaning temporary directory $UnpackFolder"
10391040
Remove-Item $UnpackFolder -Force | Out-Null
10401041

1042+
dnvm-use $PackageVersion -Architecture:$Architecture -Runtime:$Runtime -Persistent:$Persistent
1043+
10411044
if ($Runtime -eq "clr") {
10421045
if (-not $NoNative) {
10431046
if ((Is-Elevated) -or $Ngen) {
@@ -1071,8 +1074,6 @@ function dnvm-install {
10711074
}
10721075
}
10731076

1074-
dnvm-use $PackageVersion -Architecture:$Architecture -Runtime:$Runtime -Persistent:$Persistent
1075-
10761077
if($Alias) {
10771078
_WriteDebug "Aliasing installed runtime to '$Alias'"
10781079
dnvm-alias $Alias $PackageVersion -Architecture:$Architecture -Runtime:$Runtime

dnvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Source this file from your .bash-profile or script to use
33

44
# "Constants"
5-
_DNVM_BUILDNUMBER="beta5-10352"
5+
_DNVM_BUILDNUMBER="beta5-10353"
66
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
77
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
88
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"

0 commit comments

Comments
 (0)