From 39db2a6bf963896142bd40fa1c1988e5c0df47e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 5 Sep 2018 17:03:58 +0200 Subject: [PATCH] shellcheck: ignore SC2154 on NuttX This is because NuttX uses a different assignment for variables. --- ROMFS/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ROMFS/CMakeLists.txt b/ROMFS/CMakeLists.txt index af2f5132d9..d8ef8b9cda 100644 --- a/ROMFS/CMakeLists.txt +++ b/ROMFS/CMakeLists.txt @@ -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: 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}