Skip to content

Commit

Permalink
Revert "Clearly signal that sudo is not available on windows"
Browse files Browse the repository at this point in the history
Breaks linux-arm and linux-arm64 build for some reason.
This reverts commit d836630.
  • Loading branch information
Susko3 committed Jan 1, 2025
1 parent d836630 commit c86db6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions External/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c86db6c

Please sign in to comment.