Fix, not ignore, shellcheck SC1091 warnings

This is easy to fix (but we have to specify -x).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2022-04-12 16:40:31 -07:00 committed by Andrei Vagin
parent 9d2948b239
commit b1fb9f2f0b
6 changed files with 11 additions and 9 deletions

View file

@ -423,10 +423,10 @@ lint:
shellcheck --version
shellcheck scripts/*.sh
shellcheck scripts/ci/*.sh scripts/ci/apt-install
shellcheck test/others/crit/*.sh
shellcheck test/others/libcriu/*.sh
shellcheck test/others/crit/*.sh test/others/criu-coredump/*.sh
shellcheck test/others/config-file/*.sh
shellcheck -x test/others/crit/*.sh
shellcheck -x test/others/libcriu/*.sh
shellcheck -x test/others/crit/*.sh test/others/criu-coredump/*.sh
shellcheck -x test/others/config-file/*.sh
codespell
# Do not append \n to pr_perror or fail
! git --no-pager grep -E '^\s*\<(pr_perror|fail)\>.*\\n"'