cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 04cdc7892055a40ec78dd3014b31344f31c4e281
parent c18309def9d262662a313c8fc02f561c18fd319c
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 10 Sep 2019 12:10:15 +0300

kiss: clean up

Diffstat:
Mkiss | 12++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git 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.