From 929fb54972585b46973369491296e9e6be43a1d1 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Tue, 19 Nov 2024 16:54:44 -0500 Subject: [PATCH] schemagen: add double quotes around shell vars Signed-off-by: Jean-Louis Leroy --- src/python/bin/schemagen | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/bin/schemagen b/src/python/bin/schemagen index 1d7facc70..49f8ab34e 100755 --- a/src/python/bin/schemagen +++ b/src/python/bin/schemagen @@ -46,13 +46,13 @@ cd "${python_root}" function copyright_black { echo "$copyright -$(cat $1)" > $1 - black -q $1 +$(cat $1)" > "$1" + black -q "$1" } function generate { xsdata generate --package blazingmq.schemas "$1" - copyright_black $2 + copyright_black "$2" } generate "${blazingmq_root}/src/groups/mqb/mqbcfg/mqbcfg.xsd" blazingmq/schemas/mqbcfg.py