diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-10 09:10:15 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-10 09:10:15 +0000 |
commit | ed80c099bc7df490a220d786f1ddf77473877e00 (patch) | |
tree | d3e07bbfb5b274e5a3f0dbb6e65b56649bac2944 | |
parent | 395d17dfc3ca7a6ef76b5d3fb6ae6007ef807666 (diff) | |
download | cpt-ed80c099bc7df490a220d786f1ddf77473877e00.tar.gz |
kiss: clean up
FossilOrigin-Name: 3a46fd7fb858b3007336d006f771eaa919ab02c50871e4fc5b862da99a0321dd
-rwxr-xr-x | kiss | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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. |