From 7a4169c374d5878f7509177b6599c7f1bcf9ff29 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 15 Aug 2022 22:50:11 +0200 Subject: [PATCH] support/dependencies: check for find and xargs Commit 7652817c93a02715e0d334d70118a0d8b6917ca6 updated the documentation but forgot to update support/dependencies Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN (cherry picked from commit ba2659401feb5cc97cad501ab8b38268de578d3f) Signed-off-by: Peter Korsgaard --- support/dependencies/dependencies.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index d69d97afaa..2b678ae8c4 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -163,7 +163,7 @@ fi # Check that a few mandatory programs are installed missing_progs="no" -for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do +for prog in perl tar wget cpio unzip rsync bc cmp find xargs ${DL_TOOLS} ; do if ! which $prog > /dev/null ; then echo "You must install '$prog' on your build machine"; missing_progs="yes" @@ -177,6 +177,10 @@ for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do echo " bzcat is usually part of the bzip2 package in your distribution" elif test $prog = "cmp" ; then echo " cmp is usually part of the diffutils package in your distribution" + elif test $prog = "find" ; then + echo " find is usually part of the findutils package in your distribution" + elif test $prog = "xargs" ; then + echo " xargs is usually part of the findutils package in your distribution" fi fi done