Blame SOURCES/dotnet.sh.in

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