forked from kiss-community/kiss
kiss: clean up
This commit is contained in:
parent
6bf3d1e994
commit
0da3d70331
10
kiss
10
kiss
@ -367,21 +367,17 @@ pkg_build() {
|
||||
explicit=$(echo "$explicit" | sed "s/ $pkg / /g")
|
||||
done
|
||||
|
||||
# Set the resolved dependency list as the function's arguments.
|
||||
set -- $deps $explicit
|
||||
|
||||
# The dependency solver always lists all dependencies regardless of
|
||||
# whether or not they are installed. Filter out installed dependencies.
|
||||
for pkg; do
|
||||
for pkg in $deps $explicit; do
|
||||
contains "$explicit_build" "$pkg" || {
|
||||
pkg_list "$pkg" >/dev/null && continue
|
||||
}
|
||||
|
||||
build_packages="$build_packages$pkg "
|
||||
build="$build$pkg "
|
||||
done
|
||||
|
||||
# Set the filtered dependency list as the function's arguments.
|
||||
set -- $build_packages
|
||||
set -- $build
|
||||
|
||||
log "Building: $*"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user