fixed .netcore sdk paths

This commit is contained in:
Rick van Lieshout 2019-05-21 18:31:28 +02:00
parent 21cae0eb56
commit cd2304f7e2

View File

@ -16,8 +16,9 @@ source ~/.custom
# Fix .netcore paths if dotnet is installed
if hash dotnet 2>/dev/null; then
export PATH="$PATH:~/.dotnet/tools"
export DOTNET_ROOT=$(dirname $(realpath $(which dotnet)))
export DOTNET_ROOT=/opt/dotnet
export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks
export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools"
fi