Blame SOURCES/dotnet.sh.in

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