Blame SOURCES/dotnet.sh.in

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