mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
shellcheck: ignore SC2154 on NuttX
This is because NuttX uses a different assignment for variables.
This commit is contained in:
parent
64912ed7f6
commit
39db2a6bf9
@ -179,6 +179,7 @@ if(SHELLCHECK_PATH)
|
||||
--exclude=SC2086 # SC2086: Double quote to prevent globbing and word splitting.
|
||||
--exclude=SC2039 # SC2039: In POSIX sh, == in place of = is undefined.
|
||||
--exclude=SC2166 # SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
|
||||
--exclude=SC2154 # SC2154: <var> is referenced but not assigned (NuttX uses different asssignment)
|
||||
init.d/*
|
||||
DEPENDS ${romfs_gen_root_dir}/init.d/rc.autostart
|
||||
WORKING_DIRECTORY ${romfs_gen_root_dir}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user