diff --git a/KoreBuild-dotnet/build/KoreBuild.sh b/KoreBuild-dotnet/build/KoreBuild.sh index 049db2ec4d..17e9e39be1 100755 --- a/KoreBuild-dotnet/build/KoreBuild.sh +++ b/KoreBuild-dotnet/build/KoreBuild.sh @@ -53,8 +53,8 @@ else # Need to set this variable because by default the install script # requires sudo export DOTNET_INSTALL_DIR=~/.dotnet - export PATH=~/.dotnet/bin:$PATH - export DOTNET_HOME=DOTNET_INSTALL_DIR + export PATH=$DOTNET_INSTALL_DIR/bin:$PATH + export DOTNET_HOME=$DOTNET_INSTALL_DIR/share/dotnet/cli export KOREBUILD_FOLDER="$(dirname $thisDir)" chmod +x $thisDir/dotnet-install.sh $thisDir/dotnet-install.sh