public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: Sam James <sam@gentoo.org>
To: libabigail@sourceware.org
Cc: Sam James <sam@gentoo.org>
Subject: [PATCH] tests/runtestabidb?.sh.in: Use bash shebang
Date: Fri, 19 Apr 2024 03:23:11 +0100	[thread overview]
Message-ID: <20240419022312.495759-1-sam@gentoo.org> (raw)

'function x() { ... }' is a bashism, but /bin/sh may be another shell,
like dash. Just use an explicit /bin/bash shebang as the file relies on
a few other bashisms like 'type'.

    * tests/runtestabidb[1-2].sh.in: Use bash shebang.

Signed-off-by: Sam James <sam@gentoo.org>
---
 tests/runtestabidb1.sh.in | 2 +-
 tests/runtestabidb2.sh.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/runtestabidb1.sh.in b/tests/runtestabidb1.sh.in
index 9a0dc059..580e91f9 100755
--- a/tests/runtestabidb1.sh.in
+++ b/tests/runtestabidb1.sh.in
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 
 # Run an abidb test based on the binaries right here
 
diff --git a/tests/runtestabidb2.sh.in b/tests/runtestabidb2.sh.in
index f2ce7adf..5029ebdc 100755
--- a/tests/runtestabidb2.sh.in
+++ b/tests/runtestabidb2.sh.in
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 
 # Run an abidb test based on the binaries right here
 
-- 
2.44.0


                 reply	other threads:[~2024-04-19  2:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20240419022312.495759-1-sam@gentoo.org \
    --to=sam@gentoo.org \
    --cc=libabigail@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).