Blame SOURCES/dotnet.sh.in

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