From c86db6c2fd1df830df7a6775224af65093ea1732 Mon Sep 17 00:00:00 2001 From: Susko3 Date: Thu, 2 Jan 2025 00:05:23 +0100 Subject: [PATCH] Revert "Clearly signal that sudo is not available on windows" Breaks linux-arm and linux-arm64 build for some reason. This reverts commit d836630eabf5cd846ed0ec321d745c679160fe2f. --- External/build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/External/build.sh b/External/build.sh index 7e049b1..c689e6b 100755 --- a/External/build.sh +++ b/External/build.sh @@ -10,9 +10,7 @@ if [[ -z $NAME || -z $RUNNER_OS || -z $FLAGS ]]; then exit 1 fi -if [[ $RUNNER_OS != 'Windows' ]]; then - SUDO=$(which sudo) -fi +SUDO=$(which sudo || exit 0) if [[ $RUNNER_OS == 'Linux' ]]; then # Setup Linux dependencies