forked from ungleich-public/cdist
Add comment for SHELLCHECK_SKIP.
This commit is contained in:
parent
8436f872a9
commit
140518f1b0
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -41,6 +41,8 @@ SPHINXH=make -C $(DOCS_SRC_DIR) html
|
|||
SPHINXC=make -C $(DOCS_SRC_DIR) clean
|
||||
|
||||
SHELLCHECKCMD=shellcheck -s sh -f gcc -x
|
||||
# Skip SC2154 for variables starting with __ since such variables are cdist
|
||||
# environment variables.
|
||||
SHELLCHECK_SKIP=grep -v ': __.*is referenced but not assigned.*\[SC2154\]'
|
||||
################################################################################
|
||||
# Manpages
|
||||
|
|
Loading…
Reference in a new issue