Signed-off-by: Roland Hieber <[email protected]>
---
scripts/lib/ptxd_make_world_lint.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/lib/ptxd_make_world_lint.sh
b/scripts/lib/ptxd_make_world_lint.sh
index 65fdd3b72e5e..db855adbef25 100644
--- a/scripts/lib/ptxd_make_world_lint.sh
+++ b/scripts/lib/ptxd_make_world_lint.sh
@@ -151,6 +151,12 @@ ptxd_make_world_lint_autogen() {
local dir fd file need_autogen
echo "Checking for missing autogen.sh ..."
+
+ if [ -z "$(type -t diffstat)" ]; then
+ ptxd_warning "'diffstat' not found, skipping checks for missing
autogen.sh"
+ return
+ fi
+
for dir in ${ptx_patch_dir_all}; do
need_autogen=
exec {fd}< <(find "${dir}" -type f ! -name autogen.sh ! -name series)
--
2.29.2
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]