mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 23:57:47 +00:00
[shell] resolve shellcheck warnings (#4966)
This commit is contained in:
+3
-3
@@ -193,7 +193,7 @@ do_unit()
|
||||
local builddir="${OT_BUILDDIR}/cmake/openthread-simulation-${THREAD_VERSION}"
|
||||
if [[ ! -d ${builddir} ]]; then
|
||||
echo "Cannot find build directory!"
|
||||
exit -1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "${builddir}"
|
||||
@@ -410,8 +410,8 @@ envsetup()
|
||||
export -n VERBOSE
|
||||
fi
|
||||
|
||||
read -r -a ot_extra_options <<<"${OT_OPTIONS-}"
|
||||
ot_extra_options=${ot_extra_options:-()}
|
||||
read -r -a ot_extra_options_in <<<"${OT_OPTIONS-}"
|
||||
ot_extra_options=${ot_extra_options_in:-()}
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user