maint/utils/update-years.sh: add src/man2hlp/man2hlp.in.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-12-23 11:38:09 +03:00
parent ded62f5f3e
commit 2ce0b25cfd

View File

@ -3,10 +3,11 @@
YEAR=`date +%Y` YEAR=`date +%Y`
SOURCES="`find lib src tests -name '*.c'`" SOURCES="`find lib src tests -name '*.c'`"
SOURCES="$SOURCES src/man2hlp/man2hlp.in"
LINE="Copyright (C)" LINE="Copyright (C)"
for i in "$SOURCES"; do for i in $SOURCES; do
# replace year: XXXX-YYYY -> XXXX-ZZZZ # replace year: XXXX-YYYY -> XXXX-ZZZZ
# add year: XXXX -> XXXX-ZZZZ # add year: XXXX -> XXXX-ZZZZ
${SED-sed} -i -e " ${SED-sed} -i -e "