Skip to content

Commit

Permalink
schemagen: add double quotes around shell vars
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Louis Leroy <[email protected]>
  • Loading branch information
jll63 committed Nov 19, 2024
1 parent 276152b commit 929fb54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/python/bin/schemagen
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 929fb54

Please sign in to comment.