From f5c0ab06b761cd4f9631fe72dd8ba2366048c941 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 25 Apr 2022 18:30:59 +0200 Subject: 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 --- mbuto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbuto b/mbuto index 88755c5..81abba2 100755 --- a/mbuto +++ b/mbuto @@ -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 -- cgit v1.2.3