forked from kiss-community/kiss
kiss: nit
This commit is contained in:
parent
caff0ef981
commit
c716a4b996
10
kiss
10
kiss
@ -661,11 +661,8 @@ pkg_build_all() {
|
|||||||
# Order the argument list and filter out duplicates.
|
# Order the argument list and filter out duplicates.
|
||||||
log "Resolving dependencies"
|
log "Resolving dependencies"
|
||||||
|
|
||||||
# Mark packages passed on the command-line separately from those
|
# Mark packages passed on the command-line explicit.
|
||||||
# detected as dependencies. We need to treat explicitly passed packages
|
# Also resolve dependencies for all explicit packages.
|
||||||
# differently from those pulled in as dependencies.
|
|
||||||
#
|
|
||||||
# This also resolves all dependencies and stores the result in '$deps'.
|
|
||||||
for pkg do
|
for pkg do
|
||||||
pkg_depends "$pkg" expl filter '' '' pkg_lint
|
pkg_depends "$pkg" expl filter '' '' pkg_lint
|
||||||
explicit="$explicit $pkg "
|
explicit="$explicit $pkg "
|
||||||
@ -678,8 +675,7 @@ pkg_build_all() {
|
|||||||
set --
|
set --
|
||||||
|
|
||||||
# If an explicit package is a dependency of another explicit package,
|
# If an explicit package is a dependency of another explicit package,
|
||||||
# remove it from the explicit list as it needs to be installed as a
|
# remove it from the explicit list.
|
||||||
# dependency.
|
|
||||||
for pkg in $explicit; do
|
for pkg in $explicit; do
|
||||||
contains "$deps" "$pkg" || set -- "$@" "$pkg"
|
contains "$deps" "$pkg" || set -- "$@" "$pkg"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user