aboutsummaryrefslogtreecommitdiff
path: root/scripts/assert-shellcheck.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-25 03:38:29 -0300
committerEuAndreh <eu@euandre.org>2020-12-25 03:38:29 -0300
commit601d705bbcd612400b45f02f2db88e2cc0fab9fc (patch)
treeab63ba017c9aa95698147e791cfd0e67ebe979d4 /scripts/assert-shellcheck.sh
parentMove torrent and media generators out of linter.rb (diff)
downloadeuandre.org-601d705bbcd612400b45f02f2db88e2cc0fab9fc.tar.gz
euandre.org-601d705bbcd612400b45f02f2db88e2cc0fab9fc.tar.xz
Fix sh tests
Diffstat (limited to 'scripts/assert-shellcheck.sh')
-rwxr-xr-xscripts/assert-shellcheck.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/assert-shellcheck.sh b/scripts/assert-shellcheck.sh
index d07815b..70ea65a 100755
--- a/scripts/assert-shellcheck.sh
+++ b/scripts/assert-shellcheck.sh
@@ -1,5 +1,6 @@
#!/bin/sh -eux
git ls-files -z | \
+ grep -zv vendor | \
xargs -0 awk 'FNR==1 && /^#!\/bin\/sh/ { print FILENAME }' | \
xargs shellcheck