check_kdb_internal_check: add braces
@@ -17,7 +17,7 @@ printf "Running checks with >%s<\n" "$KDB"
ACTUAL_PLUGINS=$PLUGINS
# Otherwise the test would fail as SHARED_ONLY plugins are not
# available in full and static builds
-if contains $KDB "full" || contains $KDB "static"; then
+if contains "$KDB" "full" || contains "$KDB" "static"; then
ACTUAL_PLUGINS=$ADDED_PLUGINS_WITHOUT_ONLY_SHARED
fi
@@ -68,7 +68,7 @@ do
fi
> $FILE
- "$KDB" check $PLUGIN 1> $FILE 2> $FILE
+ "$KDB" check "$PLUGIN" 1> "$FILE" 2> "$FILE"
succeed_if "check of plugin $PLUGIN failed"
test ! -s $FILE
