From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb/contrib] Make cc-with-tweaks.sh shellcheck-clean
Date: Mon, 31 Aug 2026 11:11:32 +0200 [thread overview]
Message-ID: <20260831091132.3513640-1-tdevries@suse.de> (raw)
Make gdb/contrib/cc-with-tweaks.sh shellcheck-clean by adding some quotes.
---
gdb/contrib/cc-with-tweaks.sh | 2 +-
gdb/contrib/shellcheck.sh | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/gdb/contrib/cc-with-tweaks.sh b/gdb/contrib/cc-with-tweaks.sh
index 57fd51354bc..047c748e165 100755
--- a/gdb/contrib/cc-with-tweaks.sh
+++ b/gdb/contrib/cc-with-tweaks.sh
@@ -335,4 +335,4 @@ if [ "$want_gnu_debuglink" = true ]; then
[ $rc != 0 ] && exit $rc
fi
-exit $rc
+exit "$rc"
diff --git a/gdb/contrib/shellcheck.sh b/gdb/contrib/shellcheck.sh
index a3e80a553f4..2a0425eeaab 100755
--- a/gdb/contrib/shellcheck.sh
+++ b/gdb/contrib/shellcheck.sh
@@ -43,7 +43,6 @@ for f in "$@"; do
;;
gdb/config/djgpp/djcheck.sh \
| gdb/config/djgpp/djconfig.sh \
- | gdb/contrib/cc-with-tweaks.sh \
| gdb/contrib/gdb-add-index.sh \
| gdb/gdb_buildall.sh \
| gdb/gdb_mbuild.sh \
base-commit: 60af72593d95acc71b45e570abcf53c0185656b4
--
2.51.0
next reply other threads:[~2026-08-31 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 9:11 Tom de Vries [this message]
2026-09-01 16:25 ` Tom Tromey
2026-09-01 16:29 ` Tom de Vries
2026-09-02 19:22 ` Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260831091132.3513640-1-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox