Skip to content

Commit

Permalink
Fix: check platform error
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Oct 5, 2023
1 parent ed7dd1e commit 8b413ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ALLOWED_PLATFORM="$LINUX_ALLOWED_PLATFORM,$DARWIN_ALLOWED_PLATFORM,$WINDOWS_ALLO

function CheckPlatform() {
platform="$1"
for p in $(echo "$ALLOWD_PLATFORM" | tr "," "\n"); do
for p in $(echo "$ALLOWED_PLATFORM" | tr "," "\n"); do
if [ "$p" == "$platform" ]; then
return 0
fi
Expand Down

0 comments on commit 8b413ac

Please sign in to comment.