support/dependencies: check for find and xargs

Commit 7652817c93 updated the
documentation but forgot to update support/dependencies

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit ba2659401f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-08-15 22:50:11 +02:00 committed by Peter Korsgaard
parent 9e5f3cd861
commit 7a4169c374

View File

@ -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