File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
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 = " beta8-15515 "
70
+ $BuildVersion = " beta8-15516 "
71
71
$Authors = " Microsoft Open Technologies, Inc."
72
72
73
73
# If the Version hasn't been replaced...
@@ -1610,6 +1610,7 @@ function dnvm-run {
1610
1610
}
1611
1611
_WriteDebug " > $dnxExe $DnxArguments "
1612
1612
& $dnxExe @DnxArguments
1613
+ $Script :ExitCode = $LASTEXITCODE
1613
1614
}
1614
1615
1615
1616
<#
@@ -1651,6 +1652,7 @@ function dnvm-exec {
1651
1652
$env: PATH = " $runtimeBin ;$ ( $env: PATH ) "
1652
1653
& $Command @Arguments
1653
1654
} finally {
1655
+ $Script :ExitCode = $LASTEXITCODE
1654
1656
$env: PATH = $oldPath
1655
1657
}
1656
1658
}
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=" beta8-15515 "
5
+ _DNVM_BUILDNUMBER=" beta8-15516 "
6
6
_DNVM_AUTHORS=" Microsoft Open Technologies, Inc."
7
7
_DNVM_RUNTIME_PACKAGE_NAME=" dnx"
8
8
_DNVM_RUNTIME_FRIENDLY_NAME=" .NET Execution Environment"
@@ -747,6 +747,7 @@ dnvm()
747
747
local hostpath=" $runtimeBin /dnx"
748
748
if [[ -e $hostpath ]]; then
749
749
$hostpath $@
750
+ return $?
750
751
else
751
752
echo " Cannot find $_DNVM_RUNTIME_SHORT_NAME in $runtimeBin . It may have been corrupted. Use '$_DNVM_COMMAND_NAME install $versionOrAlias -f' to attempt to reinstall it"
752
753
fi
@@ -757,6 +758,7 @@ dnvm()
757
758
PATH=$( __dnvm_prepend_path " $PATH " " $runtimeBin " )
758
759
$@
759
760
)
761
+ return $?
760
762
;;
761
763
" use" )
762
764
echo " Adding" $runtimeBin " to process PATH"
You can’t perform that action at this time.
0 commit comments