aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss12
1 files changed, 4 insertions, 8 deletions
diff --git a/kiss b/kiss
index 10e09b7..9a0fae6 100755
--- a/kiss
+++ b/kiss
@@ -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.