зеркало из https://github.com/mono/corefx.git
19 строки
609 B
Bash
Executable File
19 строки
609 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
|
|
|
|
# Disable telemetry, first time experience, and global sdk look for the CLI
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
|
export DOTNET_MULTILEVEL_LOOKUP=0
|
|
|
|
# Source the init-tools.sh script rather than execute in order to preserve ulimit values in child-processes. https://github.com/dotnet/corefx/issues/19152
|
|
. $__scriptpath/init-tools.sh
|
|
|
|
__toolRuntime=$__scriptpath/Tools
|
|
__dotnet=$__toolRuntime/dotnetcli/dotnet
|
|
|
|
cd $__scriptpath
|
|
$__dotnet $__toolRuntime/run.exe $__scriptpath/config.json "$@"
|
|
exit $?
|