kiss: Fix dumb test

This commit is contained in:
Dylan Araps 2020-04-20 09:29:53 +03:00
parent fa86269ae5
commit dc9f40b517
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -344,7 +344,7 @@ pkg_order() {
# Filter the list, only keeping explicit packages.
# The purpose of these two loops is to order the
# argument list based on dependence.
for pkg in $deps; do ! contains "$*" "$pkg" || {
for pkg in $deps; do contains "$*" "$pkg" && {
order="$order $pkg "
redro=" $pkg $redro"
} done