From 403e7772a02cdc84aff5541c32ebf6df85a248b4 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Tue, 15 Nov 2022 18:05:12 +0400 Subject: [PATCH] Escape the quotes in gdb command --- .github/workflows/linux-build-and-test.yaml | 4 ++-- .github/workflows/sanitizer-build-and-test.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux-build-and-test.yaml b/.github/workflows/linux-build-and-test.yaml index 5d8f0f69f9e..ab528c004de 100644 --- a/.github/workflows/linux-build-and-test.yaml +++ b/.github/workflows/linux-build-and-test.yaml @@ -196,9 +196,9 @@ jobs: sudo coredumpctl gdb <<<" set verbose on show debug-file-directory - printf "query = '%s'\n\n", debug_query_string + printf "'"'"query = '%s'\n\n"'"'", debug_query_string frame function ExceptionalCondition - printf "condition = '%s'\n", conditionName + printf "'"'"condition = '%s'\n"'"'", conditionName bt full " | tee stacktrace.log ./scripts/bundle_coredumps.sh diff --git a/.github/workflows/sanitizer-build-and-test.yaml b/.github/workflows/sanitizer-build-and-test.yaml index c0ff9652959..8541c8c5e9a 100644 --- a/.github/workflows/sanitizer-build-and-test.yaml +++ b/.github/workflows/sanitizer-build-and-test.yaml @@ -163,9 +163,9 @@ jobs: sudo coredumpctl gdb <<<" set verbose on show debug-file-directory - printf "query = '%s'\n\n", debug_query_string + printf "'"'"query = '%s'\n\n"'"'", debug_query_string frame function ExceptionalCondition - printf "condition = '%s'\n", conditionName + printf "'"'"condition = '%s'\n"'"'", conditionName bt full " | tee stacktrace.log ./scripts/bundle_coredumps.sh