Blame SOURCES/dotnet.sh.in

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