aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-15 18:59:35 -0300
committerEuAndreh <eu@euandre.org>2022-05-15 18:59:35 -0300
commit2413aa6c4f4d1556ac2e37394c78492a29129728 (patch)
treef847ed18455b9fb272ee19d8273f488fafd1dce0 /etc
parentetc/bash/check.sh: Move to the root of the Git directory before running tests (diff)
downloaddotfiles-2413aa6c4f4d1556ac2e37394c78492a29129728.tar.gz
dotfiles-2413aa6c4f4d1556ac2e37394c78492a29129728.tar.xz
etc/bash/check.sh: Exclude the file from FIXME check
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash/check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash/check.sh b/etc/bash/check.sh
index d66c277..5c410c8 100755
--- a/etc/bash/check.sh
+++ b/etc/bash/check.sh
@@ -57,7 +57,7 @@ shellcheck -xe 1090,1091 \
"$XDG_CONFIG_HOME"/bash/privrc.sh \
"$XDG_CONFIG_HOME"/notmuch/default/hooks/post-new
-if git grep FIXME; then
+if git grep FIXME -- ":(exclude)$XDG_CONFIG_HOME/bash/check.sh"; then
printf 'Leftover FIXME markers\n' >&2
exit 1
fi