parent
cc903dde20
commit
501aa8363c
15
dnvm.ps1
15
dnvm.ps1
|
|
@ -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!
|
||||
|
|
|
|||
2
dnvm.sh
2
dnvm.sh
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue