Add comment for SHELLCHECK_SKIP.

This commit is contained in:
Darko Poljak 2018-10-06 15:00:31 +02:00
parent 8436f872a9
commit 140518f1b0
1 changed files with 2 additions and 0 deletions

View File

@ -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