Blame SOURCES/dotnet.sh.in

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