From: Thomas Monjalon <thomas@monjalon.net>
To: Raslan Darawsheh <rasland@nvidia.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH] devtools: fix bad substitution
Date: Wed, 12 Jul 2023 18:19:19 +0200 [thread overview]
Message-ID: <2862366.C4sosBPzcN@thomas> (raw)
In-Reply-To: <20230711071619.26797-1-rasland@nvidia.com>
11/07/2023 09:16, Raslan Darawsheh:
> When running check-git-log, it showed a Bad substitution.
>
> It is fixed by using tr to escape the open parenthesis.
>
> Fixes: 6fd14c1b58e6 ("devtools: fix mailmap check for parentheses")
> Cc: thomas@monjalon.net
>
> Suggested-by: Thomas Monjalon <thomas@monjalon.net>
> Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>
> ---
> devtools/check-git-log.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh
> index 89544a2cc5..5c869b7683 100755
> --- a/devtools/check-git-log.sh
> +++ b/devtools/check-git-log.sh
> @@ -264,7 +264,7 @@ names=$(git log --format='From: %an <%ae>%n%b' --reverse $range |
> sed -rn 's,.*: (.*<.*@.*>),\1,p' |
> sort -u)
> bad=$(for contributor in $names ; do
> - contributor=${contributor//(/\\(}
> + contributor=$(echo $contributor | tr '(' '\\(')
tr was not working here, replaced with sed
Applied, thanks.
prev parent reply other threads:[~2023-07-12 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 7:16 [PATCH] devtools: fix bad substitution Raslan Darawsheh
2023-07-12 16:19 ` Thomas Monjalon [this message]
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=2862366.C4sosBPzcN@thomas \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=rasland@nvidia.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.