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 {
67
67
68
68
# ## Constants
69
69
$ProductVersion = " 1.0.0"
70
- $BuildVersion = " rc1-15523 "
70
+ $BuildVersion = " rc1-15524 "
71
71
$Authors = " Microsoft Open Technologies, Inc."
72
72
73
73
# If the Version hasn't been replaced...
@@ -1848,10 +1848,17 @@ if(Test-Path env:\KRE_HOME) {
1848
1848
1849
1849
$cmd = $args [0 ]
1850
1850
1851
+ $cmdargs = @ ()
1851
1852
if ($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
+ }
1855
1862
}
1856
1863
1857
1864
# 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 2
2
# Source this file from your .bash-profile or script to use
3
3
4
4
# "Constants"
5
- _DNVM_BUILDNUMBER=" rc1-15523 "
5
+ _DNVM_BUILDNUMBER=" rc1-15524 "
6
6
_DNVM_AUTHORS=" Microsoft Open Technologies, Inc."
7
7
_DNVM_RUNTIME_PACKAGE_NAME=" dnx"
8
8
_DNVM_RUNTIME_FRIENDLY_NAME=" .NET Execution Environment"
You can’t perform that action at this time.
0 commit comments