builddep_funcs.sh: always look if there are more deps.
--HG-- extra : convert_revision : 16b1ab98622f45bab123a388640dad14fc410f6c
This commit is contained in:
parent
d6e2d02e9f
commit
08630476d6
|
@ -71,17 +71,11 @@ install_pkg_deps()
|
|||
|
||||
[ -n "$prev_pkg" ] && unset prev_pkg
|
||||
#
|
||||
# Check if dependency needs more deps.
|
||||
# Iterate again, this will check if there are more
|
||||
# required deps for current pkg.
|
||||
#
|
||||
check_build_depends_pkg $j
|
||||
if [ $? -eq 0 ]; then
|
||||
install_pkg_deps $j $curpkg
|
||||
prev_pkg="$j"
|
||||
else
|
||||
echo "=> Installing $curpkgname dependency: $j"
|
||||
jname=$(xbps-pkgdb getpkgname ${j})
|
||||
install_pkg $jname auto
|
||||
fi
|
||||
done
|
||||
|
||||
install_pkg $curpkgname auto
|
||||
|
|
Loading…
Reference in New Issue
Block a user