aboutgitcode
path: root/mbuto
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-04-25 18:30:59 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-04-25 18:30:59 +0200
commitf5c0ab06b761cd4f9631fe72dd8ba2366048c941 (patch)
treec62efb32f810fff43e221baebc4a50d02898bd2f /mbuto
parent4836d87fe889861978ee3aec627eeb0c391b76f6 (diff)
downloadmbuto-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>
Diffstat (limited to 'mbuto')
-rwxr-xr-xmbuto2
1 files changed, 1 insertions, 1 deletions
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