File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function _WriteOut {
6767
6868# ## Constants
6969$ProductVersion = " 1.0.0"
70- $BuildVersion = " rc1-15523 "
70+ $BuildVersion = " rc1-15524 "
7171$Authors = " Microsoft Open Technologies, Inc."
7272
7373# If the Version hasn't been replaced...
@@ -1848,10 +1848,17 @@ if(Test-Path env:\KRE_HOME) {
18481848
18491849$cmd = $args [0 ]
18501850
1851+ $cmdargs = @ ()
18511852if ($args.Length -gt 1 ) {
1852- $cmdargs = @ ($args [1 .. ($args.Length - 1 )])
1853- } else {
1854- $cmdargs = @ ()
1853+ # Combine arguments, ensuring any containing whitespace or parenthesis are correctly quoted
1854+ ForEach ($arg In $args [1 .. ($args.Length - 1 )]) {
1855+ if ($arg -match " [\s\(\)]" ) {
1856+ $cmdargs += " "" $arg "" "
1857+ } else {
1858+ $cmdargs += $arg
1859+ }
1860+ $cmdargs += " "
1861+ }
18551862}
18561863
18571864# Can't add this as script-level arguments because they mask '-a' arguments in subcommands!
Original file line number Diff line number Diff line change 22# Source this file from your .bash-profile or script to use
33
44# "Constants"
5- _DNVM_BUILDNUMBER=" rc1-15523 "
5+ _DNVM_BUILDNUMBER=" rc1-15524 "
66_DNVM_AUTHORS=" Microsoft Open Technologies, Inc."
77_DNVM_RUNTIME_PACKAGE_NAME=" dnx"
88_DNVM_RUNTIME_FRIENDLY_NAME=" .NET Execution Environment"
You can’t perform that action at this time.
0 commit comments