diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-04-25 18:30:59 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-04-25 18:30:59 +0200 |
commit | f5c0ab06b761cd4f9631fe72dd8ba2366048c941 (patch) | |
tree | c62efb32f810fff43e221baebc4a50d02898bd2f | |
parent | 4836d87fe889861978ee3aec627eeb0c391b76f6 (diff) | |
download | mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.tar mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.tar.gz mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.tar.bz2 mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.tar.lz mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.tar.xz mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.tar.zst mbuto-f5c0ab06b761cd4f9631fe72dd8ba2366048c941.zip |
mbuto: kselftests: $__colls might have multiple tokens
Quote it, when checking if it's empty.
Fixes: 2584ae2bd68b ("mbuto: kselftests: Fill in collections if none are given")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-x | mbuto | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ profile_kselftests() { __colls="${__c} ${__colls}" done - if [ -z ${__colls} ]; then + if [ -z "${__colls}" ]; then __colls="$(${SED} -n 's/^TARGETS += \(.*\)$/\1/p' \ "${__makefile}")" fi |