Blame SOURCES/dotnet.sh.in

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