From 550bc31984615c520f48569d2bf7c8e544cad1ea Mon Sep 17 00:00:00 2001 From: Deda Date: Mon, 18 Mar 2024 16:10:05 +0100 Subject: [PATCH] Fix dotnet check for debian-12-arm --- environment/os/debian-12-arm.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/environment/os/debian-12-arm.sh b/environment/os/debian-12-arm.sh index 993aec541..f97e5fe72 100755 --- a/environment/os/debian-12-arm.sh +++ b/environment/os/debian-12-arm.sh @@ -87,9 +87,7 @@ check() { continue fi if [ "$pkg" == dotnet-sdk-8.0 ]; then - local DOTNET_ROOT=$HOME/.dotnet - export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools - if ! dotnet --list-sdks | grep -q "8\.0."; then + if ! $HOME/.dotnet/dotnet --list-sdks | grep -q "8\.0."; then missing="$pkg $missing" fi continue