mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 19:27:46 +00:00
[shellcheck] fix SC2155 warning (#8490)
Declare and assign separately to avoid masking return values.
This commit is contained in:
+2
-1
@@ -32,7 +32,8 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
readonly OT_BUILDDIR="${OT_BUILDDIR:-${PWD}/build}"
|
||||
OT_BUILDDIR="${OT_BUILDDIR:-${PWD}/build}"
|
||||
readonly OT_BUILDDIR
|
||||
|
||||
main()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user