Blame SOURCES/dotnet.sh.in

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