Blame SOURCES/dotnet.sh.in

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