Skip to content

Commit

Permalink
Fix cfgquery() in build_sanitizer.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Ivanov <[email protected]>
  • Loading branch information
alexander-e1off committed Jul 16, 2024
1 parent 7091a82 commit 51203f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sanitizers/build_sanitizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,14 @@ envcfgquery() {
# be used to set the environment for a command.
# e.g. 'asan' -> 'ASAN_OPTIONS="foo=bar:baz=baf" LSAN_OPTIONS="abc=fgh"'
#
"$(cfgquery " \
cfgquery " \
.${1}.environment | \
to_entries | \
map(\"\(.key)=\\\"\(.value | \
to_entries | \
map(\"\(.key)=\(.value)\") | \
join(\":\"))\\\"\") | \
join(\" \")")" |
join(\" \")" |
sed "s|%%SRC%%|$(realpath "${DIR_SRC_BMQ}")|g" |
sed "s|%%ROOT%%|$(realpath "${DIR_ROOT}")|g"
}
Expand Down

0 comments on commit 51203f9

Please sign in to comment.