]> git.0d.be Git - empathy.git/blobdiff - tools/check-whitespace.sh
Updated Basque language
[empathy.git] / tools / check-whitespace.sh
index 5348331261728883cdbb607eac0cbac725bec52b..489322f9ca0c97931ed3aa353ffdd17ed02d9a14 100644 (file)
@@ -8,10 +8,17 @@ then
   fail=1
 fi
 
-if grep -n '   ' "$@"
+if grep -n '   $' "$@"
 then
-  echo "^^^ The above files contain tabs"
+  echo "^^^ The above files contain unwanted trailing tabs"
   fail=1
 fi
 
+# TODO: enable tab checking once all Empathy switched to TP coding style
+#if grep -n '  ' "$@"
+#then
+#  echo "^^^ The above files contain tabs"
+#  fail=1
+#fi
+
 exit $fail