summaryrefslogtreecommitdiff
path: root/tools/check_commit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check_commit.sh')
-rwxr-xr-xtools/check_commit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/check_commit.sh b/tools/check_commit.sh
index ac95ef5..5b8887c 100755
--- a/tools/check_commit.sh
+++ b/tools/check_commit.sh
@@ -91,6 +91,9 @@ if git log ${BASE}.. --merges | grep .; then
fi
make -C chirp/locale clean all >/dev/null 2>&1
+if [ $? -ne 0 ]; then
+ fail Locale build failed
+fi
if git diff -- chirp/locale | grep '^+[^#+]' | grep -v POT-Creation; then
fail Locale files need updating
fi