Revert "Clearly signal that sudo is not available on windows"

Breaks linux-arm and linux-arm64 build for some reason.
This reverts commit d836630eab.
This commit is contained in:
Susko3 2025-01-02 00:05:23 +01:00
parent d836630eab
commit c86db6c2fd
1 changed files with 1 additions and 3 deletions

4
External/build.sh vendored
View File

@ -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