public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: fence-agents: master - copyright: allow non-redhat-copyright in fence agents Date: Fri, 27 Feb 2009 12:01:00 -0000 [thread overview] Message-ID: <20090227120127.778C6120154@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=bdd8dae1a32b195552c3b08a59a3113948c93f6f Commit: bdd8dae1a32b195552c3b08a59a3113948c93f6f Parent: 463801857a372d4dc10a2e746e7d3b5b022b0bbd Author: Fabio M. Di Nitto <fdinitto@redhat.com> AuthorDate: Fri Feb 27 13:00:23 2009 +0100 Committer: Fabio M. Di Nitto <fdinitto@redhat.com> CommitterDate: Fri Feb 27 13:00:23 2009 +0100 copyright: allow non-redhat-copyright in fence agents The build system was simply stupid. Fix that to allow proper copyright attribution. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> --- scripts/fenceparse | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/scripts/fenceparse b/scripts/fenceparse index 8b00698..c34cb82 100644 --- a/scripts/fenceparse +++ b/scripts/fenceparse @@ -28,8 +28,11 @@ esac awk "{print}(\$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $realinfile echo ${start}RELEASE_VERSION=\"${release}\"${end} -echo ${start}REDHAT_COPYRIGHT=${definedata}${end} echo ${start}BUILD_DATE=\"\(built $(date)\)\"${end} +if awk -v p=0 "(\$1 ~ /#BEGIN_VERSION_GENERATION/){p = 1} (\$1 ~ /#END_VERSION_GENERATION/){p = 0} {if(p==1)print}" $realinfile | \ + grep -q REDHAT_COPYRIGHT; then + echo ${start}REDHAT_COPYRIGHT=${definedata}${end} +fi awk -v p=0 "(\$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $realinfile exit 0
reply other threads:[~2009-02-27 12: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=20090227120127.778C6120154@lists.fedorahosted.org \ --to=fabbione@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /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).