summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2007-02-14 22:53:48 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2007-02-14 22:53:48 (GMT)
commit57247fbb5f4873b0fca438d05bd0661ad3143e72 (patch)
treea9150f3cca862254fc8d99aa963f83c38b022366 /bin/chkcopyright
parent914fbdcc6741777b170cd656ad9a953cca950f25 (diff)
downloadhdf5-57247fbb5f4873b0fca438d05bd0661ad3143e72.zip
hdf5-57247fbb5f4873b0fca438d05bd0661ad3143e72.tar.gz
hdf5-57247fbb5f4873b0fca438d05bd0661ad3143e72.tar.bz2
[svn-r13313] Added HTML files fixing feature.
Tested: kagiso.
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 623c742..4347cec 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -507,6 +507,9 @@ HTML_FILE()
# show the difference
FAILED $f
$DIFF ${EXTRACTEDFILE} ${HTM_COPYRIGHT}
+ if [ -n "$FIXIT" ]; then
+ FIX_COPYRIGHT $HTM_COPYRIGHT $f
+ fi
;;
esac
}