Blame SOURCES/dotnet.sh.in

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