Blame SOURCES/dotnet.sh.in

ced12e
ced12e
# Set location for AppHost lookup
ced12e
[ -z "$DOTNET_ROOT" ] && export DOTNET_ROOT=@LIBDIR@/dotnet
ced12e
ced12e
# Add dotnet tools directory to PATH
ced12e
DOTNET_TOOLS_PATH="$HOME/.dotnet/tools"
ced12e
case "$PATH" in
ced12e
    *"$DOTNET_TOOLS_PATH"* ) true ;;
ced12e
    * ) PATH="$PATH:$DOTNET_TOOLS_PATH" ;;
ced12e
esac
ced12e
ced12e
# Extract self-contained executables under HOME
ced12e
# to avoid multi-user issues from using the default '/var/tmp'.
ced12e
[ -z "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" ] && export DOTNET_BUNDLE_EXTRACT_BASE_DIR="${XDG_CACHE_HOME:-"$HOME"/.cache}/dotnet_bundle_extract"