kiss: clean up

This commit is contained in:
Dylan Araps 2019-09-10 12:10:15 +03:00
parent c18309def9
commit 04cdc78920

12
kiss
View File

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