public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Florian Weimer <fw@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] scripts/update-copyrights: Update csu/version.c, elf/dl-usage.c Date: Thu, 8 Oct 2020 14:01:50 +0000 (GMT) [thread overview] Message-ID: <20201008140150.CA1C53851C2B@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1a945ba5ad2d05a560e10bcd4c8bf2c94e7d8d53 commit 1a945ba5ad2d05a560e10bcd4c8bf2c94e7d8d53 Author: Florian Weimer <fweimer@redhat.com> Date: Thu Oct 8 15:33:00 2020 +0200 scripts/update-copyrights: Update csu/version.c, elf/dl-usage.c Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> 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" ;;
reply other threads:[~2020-10-08 14:01 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201008140150.CA1C53851C2B@sourceware.org \ --to=fw@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).