mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 05:37:46 +00:00
[posix] fix typo in error handling on macOS (#5394)
This commit is contained in:
@@ -33,6 +33,7 @@ main()
|
||||
{
|
||||
"$(dirname "$0")"/check-posix-build-autotools
|
||||
"$(dirname "$0")"/check-posix-build-cmake
|
||||
"$(dirname "$0")"/check-posix-build-cmake -DOT_DAEMON=ON
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
@@ -50,11 +50,11 @@ build()
|
||||
main()
|
||||
{
|
||||
reset_source
|
||||
build
|
||||
build "$@"
|
||||
|
||||
if [[ $OSTYPE != "darwin"* ]]; then
|
||||
reset_source
|
||||
build -DOT_POSIX_CONFIG_RCP_BUS=SPI
|
||||
build -DOT_POSIX_CONFIG_RCP_BUS=SPI "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user