fix code soundness check

motivation: code should be sound!

changes:
* update one case of inappropriate langauge
* update header years check regex
This commit is contained in:
tom doron committed 2022-03-16 20:00:15 -07:00
1 parent ac2a5afce3
commit a89e8ae4e0
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function replace_acceptable_years() {
# this needs to replace all acceptable forms with 'YEARS'
sed -e 's/20[12][78901]-20[12][8901]/YEARS/g' -e 's/2019/YEARS/g' -e 's/2020/YEARS/g' -e 's/2021/YEARS/g'
sed -e 's/20[12][78901]-20[12][89012]/YEARS/' -e 's/20[12][89012]/YEARS/'
}
printf "=> Checking linux tests... "