Skip to content

Commit

Permalink
style(makefile: shellcheck): correctly use find command
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 10, 2024
1 parent b3f2814 commit 4bad348
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,16 @@ vulture:
# :: vulture passed ::

shellcheck:
# shellcheck disable=SC2046
# Running shellcheck:
( \
cd $(APP_DIR) || exit ; \
shellcheck $$(find . \
-name '*.sh' \
-not -wholename '*/$(TARGET_MODULE)*.*build/*' \
-or -name 'PKGBUILD' \
) \
find . \
\( \
-name '*.sh' \
-not -wholename '*/$(TARGET_MODULE)*.*build/*' \
-or -name 'PKGBUILD' \
\) \
-exec shellcheck {} \+ \
)
# :: shellcheck passed ::

Expand Down

0 comments on commit 4bad348

Please sign in to comment.