Check the correct directory for lua.

This commit is contained in:
Pentarctagon 2021-04-25 15:35:03 -05:00
parent cc34f01f68
commit 78422f46fc
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -38,7 +38,7 @@ execute() {
checkindent() {
make -C data/tools reindent &&
find src/ -name \*.\[ch\]pp -print0 | xargs -0 sed -i 's/[[:blank:]]*$//' &&
find data/src/ -name \*.lua -print0 | xargs -0 sed -i 's/[[:blank:]]*$//' &&
find data/lua/ -name \*.lua -print0 | xargs -0 sed -i 's/[[:blank:]]*$//' &&
git diff-index --quiet HEAD
}