⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh

Source: aspnet/dnvm@8aa7b4d4c5
This commit is contained in:
ASP.NET Push Bot 2015-10-05 14:25:55 -07:00 committed by unknown
parent cc903dde20
commit 501aa8363c
2 changed files with 12 additions and 5 deletions

View File

@ -67,7 +67,7 @@ function _WriteOut {
### Constants
$ProductVersion="1.0.0"
$BuildVersion="rc1-15523"
$BuildVersion="rc1-15524"
$Authors="Microsoft Open Technologies, Inc."
# If the Version hasn't been replaced...
@ -1848,10 +1848,17 @@ if(Test-Path env:\KRE_HOME) {
$cmd = $args[0]
$cmdargs = @()
if($args.Length -gt 1) {
$cmdargs = @($args[1..($args.Length-1)])
} else {
$cmdargs = @()
# Combine arguments, ensuring any containing whitespace or parenthesis are correctly quoted
ForEach ($arg In $args[1..($args.Length-1)]) {
if ($arg -match "[\s\(\)]") {
$cmdargs += """$arg"""
} else {
$cmdargs += $arg
}
$cmdargs += " "
}
}
# Can't add this as script-level arguments because they mask '-a' arguments in subcommands!

View File

@ -2,7 +2,7 @@
# Source this file from your .bash-profile or script to use
# "Constants"
_DNVM_BUILDNUMBER="rc1-15523"
_DNVM_BUILDNUMBER="rc1-15524"
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"