From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] ptxd_make_world_lint: fail gracefully if 'diffstat' is not installed
Date: Fri, 05 Mar 2021 08:26:16 +0100 [thread overview]
Message-ID: <E1lI4qm-000AN9-3b@dude03.red.stw.pengutronix.de> (raw)
In-Reply-To: <20210301103410.32477-1-rhi@pengutronix.de>
Thanks, applied as 642d4847a7bedc9a5df1a66807ba89a50bc45264.
Michael
[sent from post-receive hook]
On Fri, 05 Mar 2021 08:26:16 +0100, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20210301103410.32477-1-rhi@pengutronix.de>
> [mol: use echo and add extra newline]
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/scripts/lib/ptxd_make_world_lint.sh b/scripts/lib/ptxd_make_world_lint.sh
> index 65fdd3b72e5e..3d0e20213dd0 100644
> --- a/scripts/lib/ptxd_make_world_lint.sh
> +++ b/scripts/lib/ptxd_make_world_lint.sh
> @@ -151,6 +151,13 @@ ptxd_make_world_lint_autogen() {
> local dir fd file need_autogen
>
> echo "Checking for missing autogen.sh ..."
> +
> + if [ -z "$(type -t diffstat)" ]; then
> + echo "'diffstat' not found, skipping checks for missing autogen.sh"
> + echo
> + return
> + fi
> +
> for dir in ${ptx_patch_dir_all}; do
> need_autogen=
> exec {fd}< <(find "${dir}" -type f ! -name autogen.sh ! -name series)
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
prev parent reply other threads:[~2021-03-05 7:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210301071231.GF7442@pengutronix.de>
2021-03-01 10:34 ` [ptxdist] [PATCH] " Roland Hieber
2021-03-05 7:26 ` Michael Olbrich [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=E1lI4qm-000AN9-3b@dude03.red.stw.pengutronix.de \
--to=mol@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=rhi@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox