diff --git a/.travis/script.sh b/.travis/script.sh index 27e9ec7fbb7..ee901eb2640 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 19fbf4723b4..ccff8f249d9 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 "