summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2023-07-12 22:33:58 (GMT)
committerGitHub <noreply@github.com>2023-07-12 22:33:58 (GMT)
commit145e962bcec6584d12483f2d5cb68367b9c2be32 (patch)
tree8f56f670684857d03f05599b6f31e38d40cdd155 /bin/chkcopyright
parent1d5a22f5d76e7fcf5bf05f9e2b39a3bdcd669c1e (diff)
downloadhdf5-145e962bcec6584d12483f2d5cb68367b9c2be32.zip
hdf5-145e962bcec6584d12483f2d5cb68367b9c2be32.tar.gz
hdf5-145e962bcec6584d12483f2d5cb68367b9c2be32.tar.bz2
Replace support.hdfgroup.org URLs for alternative COPYING file (#3228)
* Replace support.hdfgroup.org URLs for alternative COPYING file locations in copyright headers with https://www.hdfgroup.org/licenses. Replace support.hdfgroup.org URL for alternative COPYING_LBNL_HDF5 with github URL. Tweak chkcopyright script for change from UICOPYRIGHTSTR to THGCOPYRIGHTSTR.
Diffstat (limited to 'bin/chkcopyright')
-rwxr-xr-xbin/chkcopyright2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chkcopyright b/bin/chkcopyright
index 015863b..3464927 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -359,7 +359,7 @@ MATCH_COPYRIGHT()
false
else
if [ $begin -gt 1 ]; then
- begin=`expr $begin - 1`
+ begin=`expr $begin`
fi
end=`expr $begin + $nlines - 1`
sed -n -e "${begin},${end}p" < $f > ${EXTRACTEDFILE}