[posix] fix typo in error handling on macOS (#5394)

This commit is contained in:
kangping
2020-08-15 16:46:10 -07:00
committed by GitHub
parent c923dff5c7
commit 0e11f8bd9b
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -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 "$@"
+2 -2
View File
@@ -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
}