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>
This commit is contained in:
Fabrice Fontaine 2022-08-15 22:50:11 +02:00 committed by Yann E. MORIN
parent d05fa7b3bd
commit ba2659401f

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