diff options
Diffstat (limited to 'scripts/check-silliness')
-rwxr-xr-x | scripts/check-silliness | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/scripts/check-silliness b/scripts/check-silliness index 0c761a69..73f8fe56 100755 --- a/scripts/check-silliness +++ b/scripts/check-silliness @@ -19,17 +19,23 @@ errors=0 for x; do - if tr -cd '\t' < "$x" | grep . > /dev/null - then - echo "ERROR: $x contains TAB characters" 1>&2 - grep -n -F "$(printf "\t")" "$x" 1>&2 - errors=1 - fi + case "$x" in + morphlib/licensecheck.pl) ;; + *) + if tr -cd '\t' < "$x" | grep . > /dev/null + then + echo "ERROR: $x contains TAB characters" 1>&2 + grep -n -F "$(printf "\t")" "$x" 1>&2 + errors=1 + fi + ;; + esac case "$x" in # Excluding yarn files since it's not possible to split up the # IMPLEMENTS lines of them *.yarn) ;; + morphlib/licensecheck.pl) ;; *) if awk 'length($0) > 79' "$x" | grep . > /dev/null then |