kiss: clean up

This commit is contained in:
Dylan Araps 2019-09-10 12:10:15 +03:00
parent c18309def9
commit 04cdc78920
1 changed files with 4 additions and 8 deletions

12
kiss
View File

@ -372,15 +372,11 @@ pkg_build() {
# are included and ensure that all installed packages are excluded. # are included and ensure that all installed packages are excluded.
for pkg; do for pkg; do
case $explicit_packages in case $explicit_packages in
*" $pkg "*) *" $pkg "*) ;;
build_packages="$build_packages$pkg " *) pkg_list "$pkg" >/dev/null && continue ;;
;;
*)
pkg_list "$pkg" >/dev/null ||
build_packages="$build_packages$pkg "
;;
esac esac
build_packages="$build_packages$pkg "
done done
# Set the filtered dependency list as the function's arguments. # Set the filtered dependency list as the function's arguments.