Blame dotnet.sh.in

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