Travis: fix syntax error

This commit is contained in:
Alexey Sokolov
2014-12-15 18:08:57 +00:00
parent c9db306440
commit 5c27b2aea2
+1 -1
View File
@@ -34,7 +34,7 @@ git status | grep modified: | awk '{print $2}' | while read x; do
git diff --cached $x |
perl -ne '/^[-+]/ and !/^([-+])\1\1 / and !/^[-+]Generated.*ZNC.*doxygen/ and exit 1' &&
git reset -q $x ||
{ echo Useful change detected; need_commit=1 }
{ echo Useful change detected; need_commit=1; }
done
if [[ $need_commit == 1 ]]; then