The Wayback Machine - https://web.archive.org/web/20190322140916/https://github.com/dotnet/coreclr/blob/master/dotnet.sh
Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (18 sloc) 657 Bytes
#!/usr/bin/env bash
working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
export DOTNET_MULTILEVEL_LOOKUP=0
# Disable first run since we want to control all package sources
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
echo "Running init-tools.sh"
source $working_tree_root/init-tools.sh
dotnet=$working_tree_root/.dotnet/dotnet
echo "Running: $dotnet $@"
$dotnet "$@"
if [ $? -ne 0 ]
then
echo "ERROR: An error occurred in $dotnet $@. Check logs under $working_tree_root."
exit 1
fi
echo "Command successfully completed."
exit 0
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.