mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 14:53:58 +01:00
fixed .netcore sdk paths
This commit is contained in:
parent
21cae0eb56
commit
cd2304f7e2
@ -16,8 +16,9 @@ source ~/.custom
|
|||||||
|
|
||||||
# Fix .netcore paths if dotnet is installed
|
# Fix .netcore paths if dotnet is installed
|
||||||
if hash dotnet 2>/dev/null; then
|
if hash dotnet 2>/dev/null; then
|
||||||
export PATH="$PATH:~/.dotnet/tools"
|
export DOTNET_ROOT=/opt/dotnet
|
||||||
export DOTNET_ROOT=$(dirname $(realpath $(which dotnet)))
|
export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks
|
||||||
|
export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user