Change sed command.

Change-Id: I15c796a5359f8c41cc0a3447e6f65aa68bc14d00
pull/1505/head
Jaehwa Noh 1 year ago
parent 85129e4660
commit 1bc458a6e2

@ -115,7 +115,7 @@ echo "$module_paths" | while read -r module_path; do
# Convert to SVG using dot, remove unnecessary comments, and reformat
dot -Tsvg "/tmp/${file_name}.gv" |
sed 's/<!--/\x0<!--/g;s/-->/-->\x0/g' | grep -zv '^<!--' | tr -d '\0' |
sed -e 's/<!--.*//g' -e 's/-->.*//g' | grep -zv '^<!--' | tr -d '\0' |
xmllint --format - \
> "docs/images/graphs/${file_name}.svg"
# Remove the temporary .gv file

Loading…
Cancel
Save