mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
scripts/update-copyrights: Update csu/version.c, elf/dl-usage.c
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -70,6 +70,12 @@ for f in $files; do
|
||||
# Pre-1991 gaps in copyright years, so cannot use a single range.
|
||||
UPDATE_COPYRIGHT_USE_INTERVALS=1 "$update_script" "$f"
|
||||
;;
|
||||
csu/version.c | elf/dl-usage.c)
|
||||
# Update the copyright string in the output message.
|
||||
year="$(date +%Y)"
|
||||
sed -i 's/^Copyright (C) [0-9]\{4\} /Copyright (C) '"$year"' /' $f
|
||||
"$update_script" "$f"
|
||||
;;
|
||||
*)
|
||||
"$update_script" "$f"
|
||||
;;
|
||||
|
Reference in New Issue
Block a user