xbps-src: be silent while checking for required host cmds.

This commit is contained in:
Juan RP 2010-11-09 00:47:29 +01:00
parent 6b30a5c01c
commit 4bdf2e615b

View file

@ -50,16 +50,13 @@ check_reqhost_utils()
{
[ -n "$in_chroot" ] && return 0
echo -n "=> Checking for required host utilities... "
for f in awk bash sed gcc msgfmt patch makeinfo perl fakeroot \
xbps-bin.static xbps-repo.static xbps-uhelper.static; do
if ! command -v ${f} 2>&1 >/dev/null; then
echo
echo "${f} is missing in your system, can't continue! exiting..."
exit 1
fi
done
echo "done."
}
usage()