From ed80c099bc7df490a220d786f1ddf77473877e00 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 10 Sep 2019 09:10:15 +0000 Subject: kiss: clean up FossilOrigin-Name: 3a46fd7fb858b3007336d006f771eaa919ab02c50871e4fc5b862da99a0321dd --- kiss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'kiss') 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. -- cgit v1.2.3