Skip to content

Commit c24e2ed

Browse files
[PATCH] Apply changes from Review (- WIP PR #82 -)
Signed-off-by: Mr. Walls <[email protected]>
1 parent 84f0d10 commit c24e2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/check_cc_lines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ else
130130
EXIT_CODE=40
131131
fi
132132

133-
_TEST_YEAR=$(date -j "+%C%y" 2>/dev/null ;)
133+
_TEST_YEAR=$(date "+%Y" 2>/dev/null || date -j "+%C%y" 2>/dev/null ;)
134134

135135
for _TEST_DOC in $(find ${_TEST_ROOT_DIR} \( -not -ipath "*.github/*" \) -a \( -iname '*.py' -o -iname '*.txt' -o -iname '*.md' \) -a -print0 2>&1 | xargs -0 -I{} ${_TEST_FILE_VALIDATOR} "{}" ; wait ;) ; do
136136
if [[ ($(grep -cF 'Disclaimer' "${_TEST_DOC}" 2>&1 || : ;) -ne 0) ]] ; then

0 commit comments

Comments
 (0)