xbps-src: install_pkg_deps: another performance change.

This commit is contained in:
Juan RP 2011-10-28 11:22:30 +02:00
parent a8bd4ed7ad
commit aa67f4ffdb

View file

@ -139,12 +139,6 @@ install_pkg_deps()
fi
for j in ${build_depends}; do
#
# Check if dep is satisfied.
#
check_pkgdep_matched "${j}"
[ $? -eq 0 ] && continue
prev_pkg="$j"
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then
install_pkg_from_repos \"${j}\"
@ -156,7 +150,7 @@ install_pkg_deps()
:
continue
fi
fi
else
#
# Iterate again, this will check if there are more
# required deps for current pkg.
@ -170,6 +164,7 @@ install_pkg_deps()
fi
return 1
fi
fi
done
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then