summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chkcopyright')
-rwxr-xr-xbin/chkcopyright3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/chkcopyright b/bin/chkcopyright
index 61448d1..d46ad4c 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -360,6 +360,9 @@ UNKNOWN_FILE()
elif grep '^!' < $tmpfile > /dev/null; then
# Some lines start with a "!". It may be a Fortran 9X style file.
FORTRAN_SOURCE $f
+ elif grep -i '^<html>' < $tmpfile > /dev/null; then
+ # Some lines start with a "<html>". It may be an HTML file.
+ HTML_FILE $f
else
# Unknown type.
UNKNOWN_TYPE $f