archrelease: copy trunk to community-any
[ArchLinux/community.git] / dotnet-core / trunk / dotnet.sh
blobfcc0bfd11dd46b67059396cc2d87cffbde95d1bc
1 # Set location for AppHost lookup
2 [ -z "$DOTNET_ROOT" ] && export DOTNET_ROOT=/usr/share/dotnet
4 # Add dotnet tools directory to PATH
5 DOTNET_TOOLS_PATH="$HOME/.dotnet/tools"
6 case "$PATH" in
7 *"$DOTNET_TOOLS_PATH"* ) true ;;
8 * ) PATH="$PATH:$DOTNET_TOOLS_PATH" ;;
9 esac
11 # Extract self-contained executables under HOME to avoid multi-user issues from using the default '/var/tmp'
12 [ -z "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" ] && export DOTNET_BUNDLE_EXTRACT_BASE_DIR="${XDG_CACHE_HOME:-"$HOME"/.cache}/dotnet_bundle_extract"