Blame SOURCES/dotnet.sh.in

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