mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-05 12:40:55 +08: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:
parent
542923d949
commit
1a945ba5ad
@ -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"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user