builddep_funcs.sh: always look if there are more deps.
--HG-- extra : convert_revision : 16b1ab98622f45bab123a388640dad14fc410f6c
This commit is contained in:
parent
d6e2d02e9f
commit
08630476d6
1 changed files with 4 additions and 10 deletions
|
@ -71,17 +71,11 @@ install_pkg_deps()
|
||||||
|
|
||||||
[ -n "$prev_pkg" ] && unset prev_pkg
|
[ -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
|
install_pkg_deps $j $curpkg
|
||||||
if [ $? -eq 0 ]; then
|
prev_pkg="$j"
|
||||||
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
|
done
|
||||||
|
|
||||||
install_pkg $curpkgname auto
|
install_pkg $curpkgname auto
|
||||||
|
|
Loading…
Reference in a new issue