fix DIST in pre-commit

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-05-26 21:37:13 +02:00
parent cfdcb41a38
commit 9b05ae0220

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.90-dev2-0-gec85636
#### $$VERSION$$ v0.90-dev2-7-gcfdcb41
############
# NOTE: you MUST run install-hooks.sh again when updating this file!
@ -30,7 +30,7 @@ fi
# run shellcheck before commit
set +f
FILES="$(find ./* -name '*.sh' | grep -v 'dist\/' )"
FILES="$(find ./* -name '*.sh' | grep -v 'DIST\/' )"
set -f
FILES="${FILES} $(sed '/^#/d' <"dev/shellcheck.files")"
if [ "$FILES" != "" ]; then