Blame SOURCES/dotnet.sh.in

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