Skip to content

Commit 942598e

Browse files
ASP.NET Push Botunknown
authored andcommitted
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@f13c852
1 parent c9122c3 commit 942598e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dnvm.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function _WriteOut {
6767

6868
### Constants
6969
$ProductVersion="1.0.0"
70-
$BuildVersion="beta7-10407"
70+
$BuildVersion="beta7-10408"
7171
$Authors="Microsoft Open Technologies, Inc."
7272

7373
# If the Version hasn't been replaced...

dnvm.sh

Lines changed: 3 additions & 3 deletions
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="beta7-10407"
5+
_DNVM_BUILDNUMBER="beta7-10408"
66
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
77
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
88
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"
@@ -736,7 +736,7 @@ dnvm()
736736
[[ ! -d $_DNVM_USER_PACKAGES ]] && echo "$_DNVM_RUNTIME_FRIENDLY_NAME is not installed." && return 1
737737

738738
local searchGlob="$_DNVM_RUNTIME_PACKAGE_NAME-*"
739-
local runtimes=$(find $_DNVM_USER_PACKAGES -name "$searchGlob" \( -type d -or -type l \) -prune -exec basename {} \; | sort -t. -k2 -k3 -k4 -k1)
739+
local runtimes="$(find $_DNVM_USER_PACKAGES -name "$searchGlob" \( -type d -or -type l \) -prune -exec basename {} \; | sort -t. -k2 -k3 -k4 -k1)"
740740

741741
[[ -z $runtimes ]] && echo 'No runtimes installed. You can run `dnvm install latest` or `dnvm upgrade` to install a runtime.' && return
742742

@@ -768,7 +768,7 @@ dnvm()
768768
fi
769769

770770
local formattedHome=`(echo $_DNVM_USER_PACKAGES | sed s=$HOME=~=g)`
771-
for f in $runtimes; do
771+
for f in `echo $runtimes`; do
772772
local active=""
773773
[[ $PATH == *"$_DNVM_USER_PACKAGES/$f/bin"* ]] && local active=" *"
774774
local pkgRuntime=$(__dnvm_package_runtime "$f")

0 commit comments

Comments
 (0)