From 7a0b874d1729977a83b31c0cece1edcb39a1f41f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Andr=C3=A8s?= Date: Thu, 7 Feb 2019 20:52:12 +0100 Subject: [PATCH] shellcheck maxdepth 3 shellcheck against all project files, maxdepth of 3 directories --- .travis/script.sh | 3 ++- doc/bash-completion/lmms | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis/script.sh b/.travis/script.sh index 27e9ec7fb..ee901eb26 100755 --- a/.travis/script.sh +++ b/.travis/script.sh @@ -8,7 +8,8 @@ if [ "$TYPE" = 'style' ]; then # once it's fixed, it should be enabled again # shellcheck disable=SC2185 # shellcheck disable=SC2046 - shellcheck $(find -O3 "$TRAVIS_BUILD_DIR/.travis/" "$TRAVIS_BUILD_DIR/cmake/" -type f -name '*.sh' -o -name "*.sh.in") + shellcheck $(find -O3 . -maxdepth 3 -type f -name '*.sh' -o -name "*.sh.in") + shellcheck doc/bash-completion/lmms else diff --git a/doc/bash-completion/lmms b/doc/bash-completion/lmms index 19fbf4723..ccff8f249 100644 --- a/doc/bash-completion/lmms +++ b/doc/bash-completion/lmms @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # lmms(1) completion -*- shell-script -*- # use shellcheck: "shellcheck -e bash "