public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/glibc-hwcaps] scripts/update-copyrights: Update csu/version.c, elf/dl-usage.c
@ 2020-10-01 16:53 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-10-01 16:53 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c09581872b6e398f6f862d5d622e19dd1adc5544
commit c09581872b6e398f6f862d5d622e19dd1adc5544
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Jun 8 17:04:46 2020 +0200
scripts/update-copyrights: Update csu/version.c, elf/dl-usage.c
Diff:
---
scripts/update-copyrights | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/update-copyrights b/scripts/update-copyrights
index 5ab9489511..7cca0f2c3d 100755
--- a/scripts/update-copyrights
+++ b/scripts/update-copyrights
@@ -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"
;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-01 16:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 16:53 [glibc/fw/glibc-hwcaps] scripts/update-copyrights: Update csu/version.c, elf/dl-usage.c Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).