Blame SOURCES/dotnet.sh.in

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